Skip To Content
Not affiliated with Roblox Corporation. 9Roblox never asks for your password and never offers free Robux.

How To Anchor And Group Parts In Roblox Studio

Roblox Studio · Building · Updated

Learn how to anchor parts, choose between Models and Folders, set a PrimaryPart, and weld assemblies cleanly in Roblox Studio.

Difficulty
Beginner
Time Needed
15 Minutes
Anchor Shortcut
Alt+A (Windows) Or Option+A (Mac)
Group As Model
Ctrl+G (Windows) Or Cmd+G (Mac)
Group As Folder
Alt+Ctrl+G (Windows) Or Option+Cmd+G (Mac)
Ungroup Shortcut
Ctrl+U (Windows) Or Cmd+U (Mac)

Why Anchoring Matters For Static Builds

Freshly placed BasePart objects behave like rigid physical bodies by default, reacting immediately to gravity, avatar bumps, and collisions once a playtest begins. Enabling the Anchored property locks a part permanently in world space so no physical force can shift or topple it, and the physics engine treats its assembly mass as infinite.

For stationary scenery—floors, walls, stairs, trees, and decorative props—select the parts and toggle Anchor in the Home or Model toolbar, or press Alt + A on Windows (Option + A on Mac). When auditing a large map quickly, click-hold the small corner arrow on the Anchor icon to activate Click object to anchor, turning the viewport cursor into a one-click lock switch. Turning on Anchored parts inside the upper-right viewport visualization menu draws clear outlines around every locked piece so stray unanchored blocks stand out before testing.

Group Objects Into Models Or Folders

Roblox Studio offers two distinct grouping containers, and choosing the right one keeps both the 3D viewport and Explorer hierarchy easy to manage. Grouping objects as a Model bundles physical components that represent a single prop or asset—such as a chair, lamppost, or vehicle—into one selectable object with a shared bounding box. Grouping objects as a Folder creates a lightweight organizational drawer inside Explorer for unrelated items such as level checkpoints, sound emitters, or twenty separate buildings.

One frequent beginner assumption causes sudden collapses during testing: placing parts inside a Model does not glue them together physically. A Model container only organizes children and enables model-level transforms; unanchored pieces inside it still scatter under gravity unless they are anchored or physically connected with joints.

Set A PrimaryPart And Edit Grouped Children

Any Model that will be repositioned, rotated, or scripted should specify a PrimaryPart—one designated BasePart inside the model that anchors its pivot point and bounding box reference. To assign one, select the Model in Explorer, click the PrimaryPart field in the Properties window so the pointer changes, and click the target child part inside Explorer.

Editing a single plank or window inside a grouped house does not require ungrouping the whole Model. Hold Alt on Windows or Option on Mac while clicking in the 3D viewport to select a specific child directly inside the Model; repeated clicks cycle deeper through overlapping child parts without altering the camera or digging manually through Explorer.

Hold Moving Models Together With WeldConstraint

Whenever a multi-part creation—such as a moving elevator, swinging door, or pushable cart—needs to travel intact without shattering, bind its parts into a single rigid physics assembly using WeldConstraint. Unlike legacy welds, a WeldConstraint automatically preserves whatever 3D spacing and rotation already exist between Part0 and Part1, even if those two surfaces do not physically touch.

Two engine rules govern welded assemblies. First, physical joints only activate while the parts live inside Workspace or a WorldModel; identical assemblies stored in ReplicatedStorage or ServerStorage stay inactive until cloned into Workspace. Second, you can inspect connected rigid bodies visually by enabling Assemblies inside the viewport visualization widget, which highlights each joined assembly in a distinct outline color.

Weld And Lift A Grouped Model Using Luau

For scripted moving platforms or traps, Luau can weld every descendant BasePart inside a Model to its PrimaryPart automatically at server startup. Keep all welded child parts unanchored while leaving only the PrimaryPart anchored if the model moves exclusively via CFrame methods such as PivotTo() or TranslateBy(). If the assembly instead needs to fall or roll under physics, unanchor every part including the PrimaryPart.

Create a grouped Model named MovingBridge in Workspace, assign a PrimaryPart to its floor slab, and place the Script below inside ServerScriptService to weld all components and raise the bridge smoothly by six studs.

local bridge = workspace:WaitForChild("MovingBridge")
local root = bridge.PrimaryPart

if not root then
	warn("Assign a PrimaryPart to MovingBridge before running this script.")
	return
end

for _, item in ipairs(bridge:GetDescendants()) do
	if item:IsA("BasePart") and item ~= root then
		local weld = Instance.new("WeldConstraint")
		weld.Part0 = root
		weld.Part1 = item
		weld.Parent = root
		item.Anchored = false
	end
end

root.Anchored = true
task.wait(1)
bridge:TranslateBy(Vector3.new(0, 6, 0))

Troubleshoot Collapsing Or Frozen Assemblies

If a physics vehicle or crate refuses to budge after adding WeldConstraints, check every descendant inside the Model for an accidentally anchored part. Even one tiny decorative bolt left with Anchored set to true locks the entire connected assembly immobile because the whole rigid body inherits infinite mass.

Conversely, if a grouped Model vanishes completely mid-playtest, its parts likely fell beneath Workspace.FallenPartsDestroyHeight. Once the final remaining BasePart inside a Model crosses that kill-plane threshold and gets destroyed, Roblox automatically cleans up the empty parent Model as well—fixing the anchor state or adding WeldConstraints to a solid frame resolves the disappearance.

More In Building