Documentation

Mouse Pressed - Open Dev Kit Documentation

Open Dev Kit Documentation :: Game :: Object :: Mouse Pressed

Game.Object.MousePressed(
  Device Integer,
  Keybind Keybind*
) 
Triggers when the mouse button or touch is pressed on the object

Parameters

Device Integer
Index number of mouse device that had a keybind pressed
Keybind Keybind*
Keybind that was pressed

If you think anything is missing, please feel free to: submit documentation feedback on this page