How to make a counting timer

i am now making a game that about escape room. And now, i wanna make a number clock that can count time in the game. Anyone know how to make it?

1 Like

Hi @kit,

  1. Create a variable called “clock” and set it to the number of seconds required
  2. Add a repeat x times loop block with the clock variable value as the x parameter.
  3. Inside the loop block, put wait 1 second and change variable by block (1 or -1 depending on whether you want to increase or decrease)
  4. Set the text of your text object (your timer) to the value of your clock variable

Also see:

Hope that helps! Let me know if you have any further questions about this. If this solves your problem, please mark this post as the Solution.

Many thanks,
Geoff @ TechLeap

1 Like