Pausing Time Tracker During Session #116
-
Hello! I've got a scenario in my experiment where the participant may want to look at some help instructions to refresh their memory of what their task consists of. In this situation, I would like to pause the timer so their task completion times aren't artificially inflated by re-reading the instructions. Is this possible? I'm having some trouble figuring out how to implement that programatically. Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
jackbrookes
Mar 11, 2022
Replies: 1 comment 1 reply
-
Hi! UXF doesn't have a way to do this directly, but there are a few ways you could solve your issue:
Hope that helps! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Perry8889
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! UXF doesn't have a way to do this directly, but there are a few ways you could solve your issue:
Time.timeScale = 0f;
in a script when you launch the instructions. In Unity this effectively "pauses" the game, and the times that are captured in UXF e.g. trialstart_time
will be paused.