PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

MouseButton1Click

Fired when the mouse has fully left clicked the GUI object. By clicking, the mouse has to be in bounds of the button and has to be pressed down and up again before this event fires.


Code Samples


GuiButton.MouseButton1Click

script.Parent.MouseButton1Click:connect(function()
  print("Button1 Clicked")
end)