The IsSelected
property of the Gizmo
class indicates whether the current gizmo is selected. This property is static and returns a boolean value.
The IsSelected
property of the Gizmo
class indicates whether the current gizmo is selected. This property is static and returns a boolean value.
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.
// 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 }