Garry's Mod Wiki

constraint.GetTable

  table constraint.GetTable( Entity ent )

Description

Returns a table of all constraints directly connected to the entity.

If you are looking for a list of specific constraint(s), use constraint.FindConstraints.

Arguments

1 Entity ent
The entity to check

Returns

1 table
A list of all constraints connected to the entity.