PadCodedocs

Stop Timer

Stops a timer started with Start Timer.

Category: Logic

#When to use it

Use it to stop a timer started with Start Timer: when someone taps Pause, when time runs out, when they leave the screen.

#Example

A Pause button: Stop Timer with Id: focus. To stop it when leaving, put the same step in the screen's When Hidden.

#Good to know

  • Id has to match the timer's Id exactly.
  • If no timer has that Id, or it already stopped, nothing happens. That isn't a failure.

#Add it

Select a view, open the Inspector's Actions tab, pick when it runs, tap Add action and choose Stop Timer (under Logic). Tap the step to open its settings.

#Settings

SettingWhat it doesKindDefault
IdThe timer's name.TextRequired

#See also