Coding challenges will involve summoning your agent to red squares facing in the right direction. There is a simple chat command you can create that will let you summon your agent, replacing the coordinates each time.
Challenges will make you summon your agent.
It helps if your agent is facing in the right direction.
A summon command will be useful.
You will need these three blocks to create your summon agent command.
The "world" block refers to the x, y, and z coordinates in the world.
When you have coordinates turned on, the game will you will see your position, and the position of the agent if you have summoned it in.
The point of this command is to find the coordinates of the red squares, and then get your agent to teleport to those world coordinates.
Be sure to pay attention to the direction your agent should be facing. There will be clues in the world to help you figure it out.
The ~ 0 ~0 ~0 block that is automatically in the "agent teleport to" command block when you drag it into your code builder space does not refer to world coordinates. the "~" shows that this coordinate refers to the position in relation to you.
For example, ~-0 -2 -0 would refer to a position two blocks above you.
You can find the "world" block to replace the "in relation to you" block in the "positions" section of the sidebar.
Your position (and your agent's position) is in the top left corner when you have "show coordinates" turned on in your settings.