Game knows when clicked out of game

Is there a way for a game to know if you click another tab then come back with the game still open?

2 Likes

Yes there is a way to do this.

You can use the Clock behavior to see the time for the player every second, and if there is a difference of more than a couple of seconds you know they were off of the tab.

1 Like