Description
The IsChildSelected
property is a static boolean property of the Gizmo
class in the Sandbox namespace. It indicates whether any child element of the current gizmo is selected. This property is useful for determining if a selection operation has affected any child elements within a gizmo hierarchy.
Usage
Use the IsChildSelected
property to check if any child elements of a gizmo are currently selected. This can be particularly useful in scenarios where you need to perform operations based on the selection state of child elements within a gizmo.
Example
// Example usage of IsChildSelected property
if (Gizmo.IsChildSelected)
{
// Perform actions when a child element is selected
// For example, highlight the parent gizmo or enable certain UI elements
}