Skip to content
ASArcaneMP Scripting APIScripting reference
Global objectClient APIGenerated

Minimap

const Minimap: object

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

The game’s own minimap, read only: the region map it draws and, in Hogwarts, the floor.

floorAt(z): number | null

The Hogwarts floor the game would pick at this height, from the same table and rule as its own pick, so other players can be put on floors the way the game puts the local one. Null before the table loads.

number

An actor location’s Z: the capsule centre, which is what the game measures.

number | null

state(): MinimapState

What the minimap is drawing this frame. minimapChanged reports every change to it.

MinimapState