bool IsSelected { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The IsSelected property of the Gizmo class indicates whether the current gizmo is selected. This property is static and returns a boolean value.

Usage

Use the IsSelected property to determine if a gizmo is currently selected. This can be useful for implementing logic that depends on the selection state of gizmos in your application.

Example

// Check if the gizmo is selected
if (Gizmo.IsSelected)
{
    // Perform actions when the gizmo is selected
    // Example: Highlight the gizmo or enable certain UI elements
}