MouseEnter (Event)

From Legacy Roblox Wiki
Jump to navigationJump to search

There is a special event for 2D GUI objects.

MouseEnter ( int x, int y )
Description Fired when the mouse enters a GuiObject, as long as the GuiObject is active (see active property for more detail). Arguments x, and y specify the absolute pixel position of the mouse.
Member of: GuiObject

There is also a special event for 3D Handle objects.

MouseEnter ( )
Description Fired when a mouse "enters" or "touches" a 3D Object.
Member of: ArcHandles, Handles