MouseButton1Down (Event)

From Legacy Roblox Wiki
Jump to navigationJump to search
MouseButton1Down ( int x, int y )
Description Fired when the mouse is in the left mouse down state on the GUI object.
Member of: GuiButton


Example
gui.MouseButton1Down:connect(function()
  print("Button1 down.")
end)