Enables a Matter-enabled Game Object to be a sensor. Should be used as a mixin and not directly.
Is the body belonging to this Game Object a sensor or not?
trueif the body is a sensor, otherwise
Set the body belonging to this Game Object to be a sensor. Sensors trigger collision events, but don't react with colliding body physically.
Name Type Description
trueto set the body as a sensor, or
falseto disable it.
This Game Object.