Description
The IsDoubleClicked
property is a static boolean property of the Gizmo
class in the Sandbox namespace. It indicates whether a double-click event has occurred on the gizmo. This property is useful for detecting double-click interactions, which can be used to trigger specific actions or behaviors in your application.
Usage
To use the IsDoubleClicked
property, simply access it directly from the Gizmo
class. Since it is a static property, you do not need to instantiate the Gizmo
class to check its value.
Example usage:
if (Gizmo.IsDoubleClicked)
{
// Perform action on double-click
}
Example
// Check if the gizmo was double-clicked
if (Gizmo.IsDoubleClicked)
{
// Execute logic for double-click event
// For example, open a detailed view or reset a transformation
}