Open Dev Kit Documentation :: GUI :: Control :: Mouse Pressed
GUI.Control.MousePressed( Position 2D Vector, Button Mouse Button )Triggers when the mouse button or touch is pressed
Parameters
- Position 2D Vector
- Position on the control of the cursor when the mouse button or touch is pressed
- Button Mouse Button
- Mouse button that was pressed
Lua Usage
control:MousePressed(position, button)
If you think anything is missing, please feel free to: submit documentation feedback on this page
