How to prevent timer for stopping when changing tab?

Hello !

I am currently adding a timer in my game using TimerEvent and I want the timer to continue even when the focus is not on the game tab.

So I was wondering : is there any way to prevent the timer from stopping when I am changing tab ?

Thanks for the help.

No. You would have to keep track of paused time yourself, maybe using

1 Like

Thank you !