player.pos

Description

Set or get the player's position.

Syntax

public pos: { x: number, y: number, z: number };

Real World Example

const currentPosition = player.pos;
player.pos = { x: 0, y: 0, z: 0 };

results matching ""

    No results matching ""