In-game tools · function

primarySelection

The most recently added, which is what an inspector shows and what a gizmo pivots on.

Explained in In-game tools.

function primarySelection(selection: Selection): number | null
import { primarySelection } from '@driftengine/tools';

Parameters

ParameterTypeDescription
selectionSelection