View Single Post
10-13-16, 03:09 PM   #3
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
That would hide the UI immediately after the player character stopped moving. The OP wants it to wait until 3 seconds of not moving the *mouse*.

There is no event for when the mouse moves. You would need to have an OnUpdate script constantly calling :GetPoint() on the mouse and keep track of it changing or not as well as a timer.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote