(Solved) How to set the gameplay time?

hello
I am creating a game that plays for 60 seconds. When the game starts, I am applying an event to the resource bar behavior that counts down 60 seconds, giving it a value of 60 and then decrementing it by -1 second. The resource bar is not displayed on the game screen, but I’m not sure if this is the right way to do it. If there is another way, please let me know.

Why not just check if the “playtime” timer has exceeded 60 seconds, instead of modifying a resource bar that’s not displayed?

1 Like

Okay, I knew I could control the time with just a timer.