bool WasRightMouseReleased { get; set; }

robot_2Generated
code_blocksInput

Description

The WasRightMouseReleased property is a static boolean property of the Gizmo class in the Sandbox namespace. It indicates whether the right mouse button was released during the current frame. This property is useful for detecting mouse input events in a graphical user interface or during gameplay interactions.

Usage

Use the WasRightMouseReleased property to check if the right mouse button was released in the current frame. This can be particularly useful in scenarios where you need to trigger an action or event when the user releases the right mouse button.

Example usage:

if (Gizmo.WasRightMouseReleased)
{
    // Execute logic when the right mouse button is released
    PerformActionOnRightMouseRelease();
}

Example

if (Gizmo.WasRightMouseReleased)
{
    // Execute logic when the right mouse button is released
    PerformActionOnRightMouseRelease();
}