Gets a value that indicates whether the button of the mouse is pressed.
|bool||Value that indicates whether the button of the mouse is pressed.|
//mouseInstance is an any instance of mouse type.
bool pressed = mouseInstance.None;
If any buttons has pressed, return value is false.
If any buttons has not pressed, return value is true.
Links for reference