mouse class : None getter

Description

Gets a value that indicates whether the button of the mouse is pressed.

Syntax

mouseInstance.None

Arguments

None.

Return value

ClassDescription
boolValue that indicates whether the button of the mouse is pressed.

Sample code

1:

mouse m = new mouse();

2:

bool pressed = m.None;

Notes

If any button has pressed, return value is false.

If any button has not pressed, return value is true.

Links for reference

Copyright © Cooker All rights reserved.