Skip to content
1 / 2
Lesson 01 of 02

The Workspace

Everything in your game lives in a tree. Master the tree, master the world.

Workspace is where everything physical lives. Parts are the atoms. Models group parts. Folders organize. Every transform (Position, Rotation, Size) is absolute unless parented to a Model with PrimaryPart.

luau
1-- Everything here is Explorer/Properties manipulation,
2-- but here's the programmatic equivalent:
3local part = Instance.new('Part')
4part.Size = Vector3.new(8, 1, 8)
5part.Position = Vector3.new(0, 0.5, 0)
6part.Material = Enum.Material.Slate
7part.Color = Color3.fromRGB(40, 42, 48)
8part.Anchored = true
9part.Parent = workspace
READY · 9 lines