Garry's Mod Wiki

constraint.HasConstraints

  boolean constraint.HasConstraints( Entity ent )

Description

Returns true if the entity has constraints attached to it

Arguments

1 Entity ent
The entity to check

Returns

1 boolean
Whether the entity has any constraints or not.