Skip to Content

Namespaces

All API namespaces and what each one is for.


Namespace functions are called with ., for example render.text(...). Each namespace has its own page.

NamespacePurpose
timerPer-script timers: timer.delay, timer.every, timer.cancel, timer.realtime and the frame-aligned scheduling rules.
notifynotify.show: display a menu notification.
utilsRandom numbers from the engine stream, the license user name, the script file name and self-unload.
globalsRead-only live game values: realtime, curtime, frametime, framecount, tickcount, tickfraction, tickinterval and maxplayers.
clipboardRead and write the Windows clipboard as UTF-8 text.
consoleQueue console commands, look up console variables and commands by name, and iterate the console registry.
memoryRaw native access: pattern scans, CreateInterface, exports, and binding virtual or pattern-located functions through FFI.
panoramaRun JavaScript in Panorama panels with panorama.loadstring and read Panorama globals from Lua.
inputKeyboard and mouse state per rendered frame: key and button checks, cursor position, delta, wheel and virtual-key codes.
fsFile operations relative to the script's data directory: read, write, append, exists, remove, mkdir, list and path restrictions.
render2D and world-space drawing: text, lines, rectangles, circles, polygons, clipping, textures and screen queries, and when drawing is available.
particlesCreate and control game particle effects: particles.create, PATTACH_* attachments, control points, paths and effect lifetime.
espRegister custom ESP Builder elements: element spec, slots, settings, render and value callbacks, element handles, errors and saved settings.
engineGame state and level queries, local HUD chat output, sound playback and netvar offsets.
traceWorld traces through the game's physics query: trace.line, trace.shape and trace.bullet.
entitylistFind entities: local pawn and controller, lookups by handle or index, class lists, pawns, controllers and game rules.