Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

ObjectInteraction

Defined in: client/api.d.ts:8617

One of the game’s own interactables the local player pressed F on.

readonly actor: object

Defined in: client/api.d.ts:8621

The object’s name and class. Names are this client’s own and differ between clients; send levelObject or entity instead.

class: string

name: string


readonly entity: { id: number; type: "beast" | "player" | "npc" | "worldObject" | "character"; } | null

Defined in: client/api.d.ts:8631

The replicated entity whose body this is, or null.


readonly levelObject: string | null

Defined in: client/api.d.ts:8626

The LevelObjects key of a placed level object, the same on every client; null for an entity and for anything spawned at runtime.


readonly position: Vec3

Defined in: client/api.d.ts:8636

Where the object stands.