MouseButton1Up (Event)

From Legacy Roblox Wiki
Revision as of 03:07, 24 January 2012 by >Aboy5643 (Explaining some of these events examples.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
MouseButton1Up ( int x, int y )
Description Fired when the left mouse has released the GUI object.
Member of: GuiButton


Example

This example prints "Button1 up." to the output when the left mouse is released on the GUI object.

gui.MouseButton1Up:connect(function()
  print("Button1 up.")
end)