Run when the mouse cursor enters the frame's interactive area. Note that a frame's mouse-interactive area can be changed via its :SetHitRectInsets() method.


OnEnter(self, motion)


  • self - Reference to the widget for which the script was run (frame)
  • motion - True if the handler is being run due to actual mouse movement; false if the cursor entered the frame due to other circumstances (such as the frame being created underneath the cursor) (boolean)