MouseLeave (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
Used Base
>Camoy
Example added
Line 7: Line 7:
</onlyinclude>
</onlyinclude>
|}
|}
{{Example|<pre>
local function leaving()
  print("Mouse has left GUI")
end
obj.MouseLeave:connect(leaving)
</pre>}}

Revision as of 15:04, 29 August 2010

MouseLeave ( )
Description Fired when a mouse "leaves" or moves off of a GUI Object.
Member of: [[RBX.lua.GuiBase (Object)|GuiBase]]
Example
local function leaving()
  print("Mouse has left GUI")
end
obj.MouseLeave:connect(leaving)