# Trigger an action on user inactivity

> Learn how to use the Timer component in PandaSuite to automatically trigger actions after user inactivity, ideal for kiosks and touch screens.

https://docs.pandasuite.com/essentials/interactions/trigger-an-action-on-user-inactivity/

**With the Timer component, you can automatically trigger an event after a certain period of inactivity. Very useful for kiosks and touch screens intended for the visitors, this action will allow you to reset and return to the home screen of your application, for example.**

[Video: Tutorial: triggering an action after a period of user inactivity with the Timer component](https://www.youtube.com/embed/KVCuR0uGTDc?&hl=en&cc_lang_pref=en&cc_load_policy=1)

The [Timer](https://docs.pandasuite.com/essentials/components/timer/) component has 2 modes: Normal or Inactivity. The Inactivity mode allows counting the time without any user action.

Insert the **Timer** at the Project level so that it is available throughout your application.

Select this mode and the duration of the timer. To trigger the action, you can either [create a marker](https://docs.pandasuite.com/essentials/interactions/markers/) at the desired time or choose the **End of play** trigger to launch the action at the end of the previously defined time.

The Timer component does not restart automatically. Remember to add a **Play** action to the **End Playback** event, especially when used for an inactivity-related action.
