how do i detect if there is no activity going on the stage.
Be more specific.
U can use Timer, Event.MOUSE_LEAVE, Event.MOUSE_MOVE.
User Interaction Mouse move and Mouse press
Ok, I wasn’t sure if you meant input activity or any activity. That latter would be a much harder question. So to elaborate on felixz answer: You probably don’t mean any time when there is no activity because that would happen constantly as the user naturally pauses. You probably want this event to happen after there’s no activity for a second or two. So create a timer, and every time a mouse event dispatches, reset the timer to zero. Whatever no activity reaction you want will be put in the timer dispatch event.