The box with the orange arrow on the floor is your cursor. You'll use cursors throughout the house to change blocks. In this activity, we'll use the cursor to open the trapdoor and release the Agent. (Interact with the lightbulb for more help.)
The included example code is broken, can you fix it? Debug the code by running it to see what it does and then edit it to the correct solution.
Move the cursor three blocks forward using the ||hoc22.cursor move||
block and then use the ||hoc22.open trapdoor||
block to release the Agent.
hoc22.cursorMoveOrientationOneUp(3)
hoc22.openTrapdoor()
hoc22.cursorMoveOrientationOneUp(2)
minecraft-hoc22=github:sae220/hoc22-ts