IsPropSolid
Whether a prop is solid.
Syntax
Section titled “Syntax”IsPropSolid(id)| Parameter | Type | |
|---|---|---|
id |
number | the prop |
Returns
Section titled “Returns”boolean - true for a solid prop (the default, and every rigid one); false for one made walk-through, or anything that is not a prop
Example
Section titled “Example”if not IsPropSolid(gate) then SetPropCollision(gate, true) endSee also
Section titled “See also”SetPropCollision · the Props group of the index
