Minimap
constMinimap: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.
Type Declaration
Section titled “Type Declaration”floorAt()
Section titled “floorAt()”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.
Parameters
Section titled “Parameters”number
An actor location’s Z: the capsule centre, which is what the game measures.
Returns
Section titled “Returns”number | null
state()
Section titled “state()”state():
MinimapState
What the minimap is drawing this frame. minimapChanged reports every change to it.