I want to make a countdown to give the button "pause" time stops completely
Use susbtract dt timer
Develop games in your browser. Powerful, performant & highly capable.
Hope this helps:
In the example if you click on the sprite, it will pause countdown, click on it again, and it will resume countdown -
Thank you very much works perfectly