UNPKG

rock-mod

Version:

Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.

11 lines (10 loc) 294 B
import { Vector2D } from "../../../../shared/common/utils"; export class RageCursorManager { show(freezeControls, state) { mp.gui.cursor.show(freezeControls, state); } getPosition() { const [x, y] = mp.gui.cursor.position; return new Vector2D(x, y); } }