MouseButton2Click (Event)

From Legacy Roblox Wiki
Jump to navigationJump to search
MouseButton2Click ( int x, int y )
Description Fired when the mouse has right clicked the GUI object.
Member of: GuiButton


Example
gui.MouseButton2Click:connect(function()
  print("Button2 clicked.")
end)