IsEntityRigid
Whether a prop is a physics body.
Syntax
Section titled “Syntax”IsEntityRigid(id)| Parameter | Type | |
|---|---|---|
id |
number | the entity |
Returns
Section titled “Returns”boolean - true for a rigid prop
Example
Section titled “Example”if IsEntityRigid(prop) then Log("this one can be pushed") endSee also
Section titled “See also”CreateProp · GetEntityScale · the Props group of the index
