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

MouseButton1Up

Fired when the left mouse has released the GUI object.

Parameters

Name Type Default Description

x

int

y

int

Code Samples


GuiButton.MouseButton1Up1

The below example assumes that ‘GUI’ has previously been defined, and will print “Left mouse button released” each time the event fires.

GUI.MouseButton1Up:connect(function()
    print("Left mouse button released")
end)