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

NameTypeDescription
sensorbooleanWhether the Shape is a sensor.

See also