This property can only be read from. Attempting to write to it will cause an error.
This item is not replicated across Roblox’s server/client boundary.
Mass is a read-only property that describes the product of a part’s volume and density. It is returned by the
- The volume of a part is determined by its
Part/Shape|Shape, which varies depending on the kind of BasePart used, such as
- The density of a part is determined by its
BasePart/CustomPhysicalProperties|CustomPhysicalProperties, if specified.
A common use of the Mass property is using it to calculate the magnitude of a gravity-counteracting force. Using a
BodyForce, apply a upward force equal to the product of a part’s Mass and
Workspace/Gravity. This will completely counteract the force of gravity on the part.