MouseEnter (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>GoldenUrg
added base type
>Mr Doom Bringer
No edit summary
Line 1: Line 1:
There is a special event for 2D GUI objects.
{|
{{Event|name=MouseEnter
|There is a special event for 2D GUI objects.
|arguments=
|description= Fired when a mouse "enters" or goes on top of a GUI Object.
|object=GuiObject: [[RBX.lua.Frame (Object)|Frame]], [[RBX.lua.TextLabel (Object)|TextLabel]], [[RBX.lua.TextButton (Object)|TextButton]], [[RBX.lua.TextBox (Object)|TextButton]], [[RBX.lua.ImageLabel (Object)|ImageLabel]], [[RBX.lua.ImageButton (Object)|ImageButton]]
|}}


----
|{{:MouseEnter (Event)/2D}}


There is a special event for 3D Handle objects.
|-
{{Event|name=MouseEnter
|There is a special event for 3D Handle objects.
|arguments=
 
|description= Fired when a mouse "enters" or "touches" a 3D GUI Object.
|{{:MouseEnter (Event)/3D}}
|object=[[RBX.lua.ArcHandles (Object)|ArcHandles]], [[RBX.lua.Handles (Object)|Handles]]
|}
|}}

Revision as of 22:12, 13 May 2010

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 a special event for 3D Handle objects.
MouseEnter ( )
Description Fired when a mouse "enters" or "touches" a 3D Object.
Member of: ArcHandles, Handles