# in reset function, spawn sensors
```
function rm_sensor:spawn {id:"lvl_1_2_sensor",x:43,y:-5,z:-146}
function rm_sensor:spawn {id:"lvl_1_2_sensor",x:41,y:-5,z:-163}
```

# in tick, check sensors
```
execute if entity @e[tag=lvl_1_2_sensor] unless entity @e[tag=lvl_1_2_sensor,tag=!sensor_on] run function rm_level_1_2:setup_second_part
```

# Tags

sensor: all sensors
sensor_on: sensor with someone on it
sensor_changed: sensor which changed in the current tick (someone stepped off or stepped on)
