mouse class : Right getter

Description

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

Syntax

mouseInstance.Right

Arguments

None.

Return value

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

Sample code

1:

mouse m = new mouse();

2:

bool pressed = m.Right;

Notes

If the right button has pressed, return value is true.

If the right button has not pressed, return value is false.

Links for reference

Copyright © Cooker All rights reserved.