PcoWSkbVqDnWTu_dm2ix
The information on this page may no longer be accurate. To see the latest, go to our new and improved documentation. You can also learn more about the future of documentation.
Collapse Sidebar

BrickColor

BasePart

BrickColor

The BrickColor property determines the color of a part. If the part has a /BasePart/Material, this also determines the color used when rendering the material texture. For more control over the color, the /BasePart/Color property can be used (it is a Color3 variant of this property). If Color set, this property will use the closest BrickColor.

Other visual properties of a part are determined by /BasePart/Transparency and /BasePart/Reflectance.


Code Samples


Part Anchored Toggle

This code sample will allow a part to be clicked to toggle its anchored property. When toggled, the visual appearance of the part is updated (red means anchored, yellow means free).