MouseLeave (Event): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>SoulStealer9875 No edit summary |
>MrNicNac Don't use direct objects. Just use a base object. |
||
Line 11: | Line 11: | ||
print("Mouse has left GUI") | print("Mouse has left GUI") | ||
end | end | ||
GUI.MouseLeave:connect(leaving) | |||
</pre>}} | </pre>}} |
Revision as of 17:22, 9 July 2011
|
Example
local function leaving() print("Mouse has left GUI") end GUI.MouseLeave:connect(leaving)