A Part is Roblox's primary building block. You can move, resize, rotate, and set many properties to affect a part's appearance and behavior, such as its color, material, and transparency. You can also form complex models by manipulating parts through solid modeling.
There are six basic parts you can add to your experiences. Blocks, spheres, and cylinders are Part objects with a different Shape property. Wedges, corner wedges, and trusses inherit their behavior from the main Part class, but they each have their own respective classes.
Each part has a variety of properties that you can customize through the Properties window.
The following are commonly utilized properties:
- Anchored controls if physics affects the position of the part. When this property is set to true, the part never changes position due to gravity or any other force. You should anchor most parts in your experience, otherwise gravity and physics affect your parts as soon as the experience begins, and this might lead to unwanted changes to your scenery and props.
- CanCollide controls whether or not a part can collide with other parts. When this property is set to true, the part is impenetrable and the physics engine accounts for it within your experience. Conversely, when this property is set to false, the part can pass through anything, and the physics engine does not account for it.
- Transparency sets a part's visibility to any value between the default value of 0 (fully visible) and 1 (fully transparent). If you have many partially transparent parts, they can slow down performance. To alleviate this, merge them using solid modeling.
To insert a block, sphere, wedge, cylinder, or corner wedge:
Select the Home or Model tab, locate the Part button, and click the small arrow below it. A dropdown menu displays.
Select a part type to insert it into the workspace.
To insert a truss:
In the Explorer window, hover over Workspace and click the ⊕ button. A contextual menu displays.
Type "truss" in the search field and, from the menu, insert a TrussPart.
You can move, scale, and rotate parts either through modeling tools or by setting a new position, size, or orientation in the Properties window.
When using the tools, you can move, scale, or rotate parts in either world orientation or local orientation by pressing Ctrl+L. When you enable local orientation, the arrow axis indicators change to a part's local orientation, and an L indicator displays. For more information, see Object and World Space.
Parts move on the X (red), Y (green), and Z (blue) axes. You can move a part to a new position using the Move tool.
To move a part:
In the Tools section, select the Move tool, then select the part you want to move.
Click and drag the arrow that is pointing in the direction you want to move the part.
Parts scale on the X (red), Y (green), and Z (blue) axes. You can make a part larger or smaller by using the Scale tool.
To scale a part:
In the Tools section, select the Scale tool, then select the part you want to scale.
Click and drag a ball to scale the part in that direction.
Parts rotate on the X (red), Y (green), and Z (blue) axes. You can rotate a part to a new angle using the Rotate tool.
To rotate a part:
In the Tools section, select the Rotate tool, then select the part you want to rotate.
Click and drag a circle to rotate the part in that direction.
While a part is gray by default, you can change it to any color through the following methods.
You can choose from several color presets in a hexagon map accessible through the Color button on the Home or Model tab. When you pick a color from the hexagon map, the part's Color and BrickColor properties change to match the chosen color.
The Colors popup allows you to set a color through your operating system's color picker widget. To access it, navigate to the Properties window and click the small box to the left of the Color property.
To define a specific RGB color value for a part, enter an RGB value into the Color property field.
Similar to color, you can customize a part's material to simulate real-world materials such as wood, glass, or fabric. When selecting a material, consider the following:
Material affects the physical traits of a part, not just its appearance. For example, the Concrete material is heavier than the Plastic material, so a concrete brick will have higher density than a plastic brick and sink in water faster.
Some materials have special physical effects. For example, parts will appear to glow if they are set to the Neon material.
See Materials for more information on how to apply both default and custom materials to parts.