Tokens -> Sensor#
- class miniworldmaker.tokens.token_plugins.sensors.sensor.Sensor(token, position=typing.Union[ForwardRef('position_mod.Position'), typing.Tuple[float, float]])[source]
A sensors attached to a token.
The sensors is not visible and will not detect the token itself.
- remove()[source]
Removes sensor and sensor class
- set_position(position)[source]
Sets the position of the sensor object
- Parameters:
position – The position where the sensor should be placed.
- property size
- property visible