Skip to content

MinimapNavigateInfo

Defined in: src/components/editor/Minimap/Minimap.types.ts:107

Info passed to onNavigate for every navigation event.

worldPoint is the world-space point the user wants at the center of the main viewport — call viewport.centerOn(info.worldPoint) (or update your transform accordingly) to satisfy the request.

Properties

phase

phase: MinimapNavigatePhase

Defined in: src/components/editor/Minimap/Minimap.types.ts:109


worldPoint

worldPoint: Point2D

Defined in: src/components/editor/Minimap/Minimap.types.ts:108