is there a function that tells you how long the app has been inactive?

Hi,

Just wondering is there a function that tells you how long a running app has been inactive?

I have a character on the screen, and if the user doesn’t do anything I want to play some funny animations…
Vik [import]uid: 67619 topic_id: 20376 reply_id: 320376[/import]

You could set up a timer that is cancelled and restarted every time the user touches something. [import]uid: 10903 topic_id: 20376 reply_id: 79608[/import]