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.
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| RenderMode | string | "Rendered" Rendered, Solid | The project's one Rendered or Solid switch for previews; final renders always trace. |
Methods
| Name | Arguments | Returns | Description |
|---|---|---|---|
| FindService | (name: string) | any | |
| GetService | (name: string) | any | Returns a service under Services by name, such as RunService. |
Events
| Name | Type | Description |
|---|---|---|
| Heartbeat | RBXScriptSignal | A signal you Connect or Once a function to; each handler gets dt. |
