In some cases, it can be useful to have an action occur after the Stop Sign is pressed. Examples include giving a user a goodbye message or logging off of a cloud project.

Script

Old Script

Note Caution: The following script given cannot be used if the timer is already used for other purposes since this could break the project.

The following script shows how to make something happen after the stop sign is pressed.

when gf clicked
forever
reset timer

when [timer v] > (.3)
...

Explanation

The first script keeps the timer constantly at 0. This script will stop once the project is stopped, allowing the timer to continue. The second script waits for this continuation, thereby running a script. On the updated script, it sets the variable to the timer plus 0.1, so when the project stops, the variable stops updating but the timer continues.

Examples

See Also