MouseButton1Up (Event)

From Legacy Roblox Wiki
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)