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.
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.
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 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 }