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