Kode wheel segment Sensors
Style Sensor
Modifiers line of sight
Primarily WHEN/DO WHEN
Pre-made brains that use it All player character brains

Sensors > see


This is a sensor tile. Every object has a set of sensors that identify its surroundings. The see sensor is a cone that extends from the centre of the object. You can alter the size of the sensor in edit mode. Objects are detected when their position correlates with being inside the cone (whole or in part). You can also specify a specific object or set of objects to detect.


Example Code

WHEN [see][IWP:block] DO [hologram]





line of sight: This excludes any objects that are blocked by an object or terrain, so only objects that can be truly seen are detected.

Other Uses


Unlike the detect sensor, the see sensor does not provide a 360 degree detection zone, it is related to what the object can “see” so it extends out at the front facing vector of the object. If an object is behind, then it is not detected. This makes this sensor tile useful for creating stealth game mechanics.

It is also useful for displaying health bars on enemies. If you use a normal health bar display, it will show up even when there is a wall in between the player and the enemy. This will alert the player of the presence of enemies early. If you use the [see] sensor with the modifier [line of sight] to display your enemies health, then the player does not see that there are enemies ahead until they can see him.

Comments are closed.

Website Powered by

Up ↑

%d bloggers like this: