Skip to content

API Reference

Auto-generated reference for the types and functions available to camera scripts, derived from the .d.lua type files shipped with the game.

Page Covers
Globals debug, log, print, warn, issue, GravityComponent, PostProcessSettings, SpectatorCamera, …
WorldDraw LuauMesh, LuauPointLight, LuauTexture, WorldDraw
Replay Replay
Gui TextJustify, Gui, Icon
Input & keys Key, Input
Math types Vec3, Vec2, Quat, Transform, DateTime, Color, LinearColor
Game data SpectatorGameTimeComponent, SpectatorGamemodes, TeamColor, ReplayBall, ReplayTransform, ReplayCosmeticMaterialMetadata, ReplayFrame, ReplaySpectator, …
Other APIs Enum, EnumItem, EnumTextJustify_INTERNAL, SpectatorEmote, EnumSpectatorEmote_INTERNAL, LuauFile, LuauJson, ModuleStateSpectatorLuaApi, …