Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

HoldOptions

Defined in: shared.d.ts:1174

Anchor spec for Player.hold(); needs either x/y/z or anchorId, never both.

optional anchorId?: number

Defined in: shared.d.ts:1180

Network id to follow instead of a fixed anchor.


optional mode?: "clamp" | "reject"

Defined in: shared.d.ts:1186


optional offset?: Vector3

Defined in: shared.d.ts:1181


owner: string

Defined in: shared.d.ts:1175


optional radius?: number

Defined in: shared.d.ts:1182


optional radiusZ?: number

Defined in: shared.d.ts:1183


optional rigid?: boolean

Defined in: shared.d.ts:1185

Attach rigidly to anchorId; refused without one.


optional ttl?: number

Defined in: shared.d.ts:1188

Seconds until the hold expires; wins over ttlMs.


optional ttlMs?: number

Defined in: shared.d.ts:1190

Milliseconds; use ttl, in seconds.


optional x?: number

Defined in: shared.d.ts:1176


optional y?: number

Defined in: shared.d.ts:1177


optional z?: number

Defined in: shared.d.ts:1178