bool IsRightMouseDown { get; set; }

robot_2Generated
code_blocksInput

Description

The IsRightMouseDown property is a static boolean property of the Gizmo class in the Sandbox namespace. It indicates whether the right mouse button is currently being pressed down.

Usage

Use the IsRightMouseDown property to check if the right mouse button is actively pressed during a frame. This can be useful for implementing custom interactions or controls that require right mouse button input.

Example

// Example usage of IsRightMouseDown
if (Gizmo.IsRightMouseDown)
{
    // Perform actions when the right mouse button is down
    // For example, rotate an object or open a context menu
}