World External · Luau VM

Core & Addresses

Resolve the base pointers World builds everything else on top of.

Overview

Everything begins here. These five functions resolve the pointers the rest of the API is relative to — without them you have no tree to walk and no camera to project through.

The five
local base = get_base()          -- Roblox module base
local dm = get_datamodel()       -- the real DataModel
local camera = get_camera()      -- the Camera pointer

print(get_place_id(), get_game_id())

Resolve fresh, every time

These change on every launch and every rejoin. Call them inside your loop rather than caching the result in an upvalue at load time.

Reference