API

Function isGizmoDragging

  • Returns true when the gizmo dispatcher for canvas has an ACTIVE drag in progress (a collider was pressed and is being dragged). Unlike isGizmoInteracting this ignores mere hover, so camera controls can abort an optimistically-started orbit once a gizmo drag (recognised a frame after pointer-down, since picking is async) reclaims the gesture — without aborting a legitimate orbit when the cursor merely passes over a gizmo.

    Parameters

    • canvas: HTMLCanvasElement

    Returns boolean