Root

The top of every project. Everything you make lives under Root, and one switch on it flips the whole project between Solid and path traced.

Root can't be inserted; scripts reach it as Root or game. Root.Heartbeat:Connect(fn) calls fn every frame while scripts run, and game:GetService("RunService") finds a service. RenderMode, "Rendered" or "Solid", is the project's Rendered / Solid switch, the same one as the top bar's and ShiftZ. The Explorer's Root view sorts what is under it into sections such as Scenes and Videos.

Instancenot insertableBase

Properties

NameTypeDefaultDescription
RenderModestring"Rendered"
Rendered, Solid
The project's one Rendered or Solid switch for previews; final renders always trace.

Methods

NameArgumentsReturnsDescription
FindService(name: string)any
GetService(name: string)anyReturns a service under Services by name, such as RunService.

Events

NameTypeDescription
HeartbeatRBXScriptSignalA signal you Connect or Once a function to; each handler gets dt.
From Instance 22