Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Type aliasClient APIGenerated

PlacementHandler\<TPose\>

PlacementHandler<TPose> = (pose, valid) => void

Defined in: shared.d.ts:44

Handler for a placement-mode event, given where the placement is aimed and whether that spot is accepted. The pose is null for cancel and end. Generic because shared.d.ts cannot reach the generated PlacementPose.

TPose = unknown

TPose | null

boolean

void