Shape:isSensor
Returns whether the Shape is a sensor. Sensors do not trigger any collision response, but they still report collisions in World:collide
.
sensor = Shape:isSensor()
Arguments
None
Returns
Name | Type | Description |
sensor | boolean | Whether the Shape is a sensor. |
See also
Shape:setSensor
Shape