PhysicsService:GetCollisionGroupId

Deprecated

This method returns the ID of the collision group with the specified name. It will throw an error if no group with the given name exists.

Parameters

name: string

The name of the collision group being retrieved.

Default Value: ""

Returns

The ID of the retrieved collision group, or nil if no such group exists.