Skip to content

IsPropSolid

Whether a prop is solid.

IsPropSolid(id)
Parameter Type
id number the prop

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

if not IsPropSolid(gate) then SetPropCollision(gate, true) end

SetPropCollision · the Props group of the index