Revision Difference
Entity:IsConstraint#529351
<function name="IsConstraint" parent="Entity" type="classfunc">
<description>Returns if entity is constraint or not</description>
<realm>Server</realm>
<rets>
<ret name="" type="boolean">Is the entity a constraint or not</ret>
</rets>
</function>
<example>
<description>Returns true if player 1 is aiming at constraint.</description>
<code>print( player.GetByID(1):GetEyeTrace().Entity:IsConstraint() )</code>
<code>print( Entity(1):GetEyeTrace().Entity:IsConstraint() )</code>
<output>false</output>
</example>