Tutorials•November 25, 2026•4 min read

How to Set a Primary Part in Roblox Studio: Model Setup

Set a Model’s PrimaryPart through Explorer and Properties, verify the chosen Part, and distinguish the reference from grouping, joints and PivotTo movement.

To set a primary part in Roblox Studio, select the Model in Explorer, click its PrimaryPart property in Properties, then select the intended Part in Explorer. Check that the property now points to the object you meant to use.

Original Model hierarchy showing a Base Part selected as the PrimaryPart reference, alongside Wall and Sign children
Conceptual hierarchy, not a captured Studio selection or physics test.

Set the reference in Properties

  1. Use a saved practice copy and locate the intended Model.
  2. Select the Model row in Explorer.
  3. In Properties, click PrimaryPart; the cursor changes for selection.
  4. Back in Explorer, select the Part you intend to use as the reference.
  5. Re-select the Model and verify the PrimaryPart field.

The official Models guide documents this selection workflow. It describes PrimaryPart as the physical reference for which BasePart the Model’s pivot and bounding box move with as the Model changes position or orientation.

Separate the reference from the rest of the setup

Different decisions in a Model workflow
DecisionWhat to identifyNext check
Model organizationParent and childrenExpected objects exist inside the intended Model
PrimaryPartThe chosen BasePart referenceThe property points to that object
Physical connectionsWelds or other jointsTest the intended assembly behavior
Scripted movementTransform method and targetObserve the Model’s actual movement

The Model API reference lists PrimaryPart as a BasePart property. Its example creates a weld separately and demonstrates PivotTo before assigning PrimaryPart. A reference assignment should not be treated as proof that every other setup step is complete.

For a static structure, use the Parts and assemblies anchoring guide before deciding which objects should remain fixed.

Choose a reference you can explain

Start with a small Model whose parts have distinct names. For a practice display, name the children Base, Wall and Sign. Write down why Base is your intended reference before assigning it.

After setting the field, inspect the Model from several angles and compare the hierarchy with your notes. If the property points to Wall when you intended Base, correct the selection before adding movement or testing physics.

For a real prop, ask which object should provide the reference as the prop moves. The answer depends on the intended construction and motion. This guide does not prescribe one reference for every vehicle, character or decorative object.

Test one change at a time

  1. Record the Model name, intended PrimaryPart and current hierarchy.
  2. Set the property and confirm the exact object reference.
  3. Perform one controlled transform or the intended small movement test.
  4. Inspect the resulting pivot, object placement and any relevant Output message.
  5. Test physical behavior separately if the prop is meant to move under simulation.

A field showing the right name proves an assignment, not that a complete vehicle or character system works. Keep the reference check and gameplay test as separate observations.

When you cannot choose the intended Part

  • You selected a child instead of the Model: return to the Model row before inspecting PrimaryPart.
  • The hierarchy is unclear: use the individual Part selection guide to identify the intended instance.
  • You need a different grouping: inspect the organization first; the Ungroup guide covers that separate edit.
  • The reference looks correct but movement is wrong: inspect the transform method, target and physical connections rather than repeatedly changing PrimaryPart.

Use the right movement guide

For an authored transform reference, see pivot offsets. For a complete scripted multi-part movement exercise, follow Model tweening with PivotTo. The official Model example shows that PivotTo can be used without a PrimaryPart; choosing the reference and choosing a movement API are related but distinct decisions.

For a layout in Obby, try: “Create a compact display area with a safe spawn and three clearly separated props. Keep the layout simple so I can inspect their hierarchy in Studio.” Review the generated instances before assigning references or adding motion. The brief does not guarantee a particular native Model structure.

Commands and reference behavior were checked against the linked official documentation on November 25, 2026. The named-Part exercise is proposed; no native PrimaryPart assignment, physics test or movement was performed for this article.

Build this in Obby

Ready to build your own version?

Describe the game and Obby builds a playable Roblox prototype you can test and export. 100% free, no credit card required.

Opens Obby Studio with this idea ready to send.

Frequently Asked Questions

How do I set a primary part in Roblox Studio?▾

Select the Model in Explorer, click PrimaryPart in Properties, then select the intended Part in Explorer. Re-select the Model and confirm the property.

What type of object is a Model’s PrimaryPart?▾

The Model API reference lists PrimaryPart as a BasePart property.

Does selecting a PrimaryPart prove the Model is connected correctly?▾

No. Verify the reference assignment, physical connections and intended behavior as separate checks.

Does PivotTo require a PrimaryPart?▾

The official Model API example demonstrates PivotTo without a PrimaryPart. Inspect the transform workflow you are actually using.