Event on user interaction on tablet (lovelace)

Hi,
I have an automation that automatically loops 3 screens on my tablet when no motion is detected.
Sometimes when a user interact with the tablet, it could not detect motion and it changes screen while user is interacting with the dashboard.

Is there an event I can test to get when a user has interacted with lovelace lastime to test it?

Ty