Skip to Content

World

Read-only lookup of named parts from client scripts.

local World = game:GetService("World")
local door = World:FindFirstChild("Door")

Methods

FindFirstChild

World:FindFirstChild(name: string): Part?

Returns the part with the given name, or nil.

Part

Parts returned on the client are read only.

Name

part.Name: string

Position

part.Position: Vector3

Center position.

Size

part.Size: Vector3

Color

part.Color: Color3

Special

part.Special: string?

Lowercase Type, for example "kill", or nil.

Bounds

part.Bounds: Vector3

Bounding box size of the part's shape.

On this page