Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

MapIcon

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

One of the game’s own map icons, as MapIcons.list() reports it.

readonly category: string

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

Its kind, e.g. “fasttravel” or “locationshogsmeade”. MapIcons.categories() lists every one.


readonly hidden: boolean

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

Whether the current rules keep it off the map and the minimap.


readonly id: string

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

The game’s name for it, e.g. “HM_JPippensPotions”. setHidden and setLabel take it.


readonly label: string | null

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

The title a setLabel call put over it, or null.


readonly position: object

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

Where it sits in the world.

x: number

y: number

z: number


readonly state: string

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

What the game makes of it right now, e.g. “undiscovered”, “discovered” or “fast_travel_unlocked”.


readonly title: string | null

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

The tooltip title the game shows for it, in the game’s language. Null when that text is not resident.


readonly titleKey: string

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

The localization key behind title.