Forum Discussion
Resetting Slide.ElapsedTime with a trigger
Hi, I am trying to reset the "Slide.ElapsedTime" variable so I can use it as a timer, that a user can reset... but I can not seem to get it to work.
very simple trigger:
set Slide.ElapsedTime to value 0 when the user clicks button 1
The documentation on the variable doesn't say it cannot be set (though it's vague), but that is my question: is this variable read only? If not, what else should I look at to fix my issue? Thanks!
- MariaCSStaff
Hi, Seth.
Thank you for opening a support case!
I see you worked with Jose, who confirmed resetting the built-in variable Slide.ElapsedTime is not something that can be done in Storyline.
Please reach out to Jose through the case if you have additional questions.
- AhmedGendyaCommunity Member
Hi Seth,
Have you reached to a solution to this problem?
I have a project where I need to start counting from 0, every time the user visits the slide. I also tried to reset the Slide.ElapsedTime using such a trigger, but this did not work.
Any advise?
Thanks
- MariaCSStaff
Hi, Ahmed.
Seth might not be subscribed to this discussion, but you're welcome to contact them directly through their profile by clicking on their name and selecting Contact Me.
- TraceyStokely-9Community Member
I'm using the Scene.ElapsedTime trying to reset it to 0 as well, with no luck.
- Jürgen_Schoene_Community Member
you can see which variables are writable/resetable
"Default Value" / "Set Automatically" => "not writable/resetable"
Jürgen
- TraceyStokely-9Community Member
Bummer! Too bad we can't use this variable in other ways.
- AlinaMolendaCommunity Member
Is there any update on this matter? I also want to reset it and tried everything so far...
- DavidHolzemer-7Community Member
Not sure if anyone is still on this thread. I have looking at trying to use this variable.. so does what you are all talking about mean that it doesn't automatically reset when you move from one slide to another?
ie. My client would like to know how much time a leaner spent on each slide. I was hoping I could use this. But if it doesn't start at 0 for each slide it wouldn't work at all for me.
Hi David,
If you're planning on using the Slide.ElapsedTime, this variable will give you the cumulative elapsed time a learner has spent on a slide. Some notes on using this variable:
- It will reset to 0 when you move to a different slide
- You cannot manipulate the value of this variable using triggers. It is strictly a read-only variable.
You can check out this article for more information on built-in variables.
Let me know if you have any questions!
- DavidHolzemer-7Community Member
Thanks Joe!
Your first note answered my question.
- It will reset to 0 when you move to a different slide ... thats pretty much what I need.