Roblox Developer Logo Get Started Learn Roblox API Reference Community


Server only:This property is server-side only! You should use a Script instead of a LocalScript when using it.


Property of Object Icon.pngBasePart

Value Type: int
Description: The id of the part’s collision group. Parts start off in the Default group (id = 0). While this property can be directly changed, it is recommended to configure the collision group of a part using the name of the group with the SetPartCollisionGroup function.

This value is clamped to the range of collision group ids: 0 <= id < maxCollisionGroups. If this value is set outside of this range it will be automatically changed to the nearest valid value.