# \[HELP\]How to detect no mouse movement & keyboard activity and do something

**URL:** <https://forum.kirupa.com/t/help-how-to-detect-no-mouse-movement-keyboard-activity-and-do-something/322125>\
**Category:** flash\
**Created:** [May 11, 2011, 9:17am UTC](https://forum.kirupa.com/t/help-how-to-detect-no-mouse-movement-keyboard-activity-and-do-something/322125 "2011-05-11T09:17:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![celestale](https://avatars.discourse-cdn.com/v4/letter/c/9fc348/32.png) [@celestale](https://forum.kirupa.com/u/celestale)\
**Post date:** [May 11, 2011, 9:17am UTC](https://forum.kirupa.com/t/help-how-to-detect-no-mouse-movement-keyboard-activity-and-do-something/322125/1 "2011-05-11T09:17:18Z")

</div>

Hi guys,

I’m looking for some help with an AS3 script that detect if the mouse has no movement for 1min +no keyboard activity, it will call a function to change the frame in TimeLine.

Any ideas please?
