Skip to content

Blip ​

@vimp-mp/types 2.0.1

Interface · Client API

Server-known blip. It may be known before/after streaming into a local map blip handle.

ts
interface Blip

Members ​

alpha ​

ts
readonly alpha: number

Cached opacity in the 0–255 range.

color ​

ts
readonly color: number

GTA blip palette colour identifier.

dimension ​

ts
readonly dimension: number

Client-side dimension value associated with this wrapper.

drawDistance ​

ts
readonly drawDistance: number

Server or wrapper draw-distance metadata.

global ​

ts
readonly global: boolean

Whether a remote blip streams globally within its dimension.

handle ​

ts
readonly handle: number

Native map blip handle, or 0 while known but not streamed.

id ​

ts
readonly id: number

Client-local 0-based wrapper id, unique per entity type and reused after destroy. Use remoteId for server/network state.

isAlive ​

ts
readonly isAlive: boolean

True while the remote blip exists in multiplayer state.

isExists ​

ts
readonly isExists: boolean

Alias of isAlive for blip lifecycle checks.

isRemote ​

ts
readonly isRemote: boolean

Whether this wrapper represents a server-owned blip.

isStreamed ​

ts
readonly isStreamed: boolean

Whether the blip currently has a native map handle.

name ​

ts
readonly name: string

Label shown for the blip in the map UI.

position ​

ts
readonly position: Vec3

Cached world position.

remoteId ​

ts
readonly remoteId: number | null

Server blip id for remote blips; null for local-only blips. Zero is a valid remote id.

rotation ​

ts
readonly rotation: number

Cached blip heading in degrees.

scale ​

ts
readonly scale: number

Cached blip scale.

shortRange ​

ts
readonly shortRange: boolean

Whether the blip is hidden outside the local minimap range.

sprite ​

ts
readonly sprite: number

GTA blip sprite identifier.

destroy ​

ts
destroy(): boolean

Destroys local-only blips. Returns false for remote blips or already-destroyed wrappers.

VIMP developer documentation