Home Cooker Classes Others Rice CookerGX
Classes  >  mouse  >  XButton1
mouse class : XButton1 getter

Description

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

Syntax

mouseInstance.XButton1

Arguments

None

Return value

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

Sample code

//mouseInstance is an any instance of mouse type.

bool pressed = mouseInstance.XButton1;

Notes

If the button has pressed, return value is true.

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

Links for reference

Copyright © Rice All rights reserved.