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

MouseButton2Up

Fired when the right mouse button has been released on a GUI Object.

Parameters

Name Type Default Description

x

int

y

int

Code Samples


GuiButton.MouseButton2Up

The below example assumes that ‘GUI’ has previously been defined, and will print Button2 up. each time the event fires.

GUI.MouseButton2Up:connect(function()
    print("Button2 up.")
end)