# Zones

Your code will probably need to look for different markers depending on the zone your robot starts in. Whilst you could have different files for each zone, there's also a property on the robot object for this.

# Python

R.zone will be equal to the the start zone of the robot, and will be equal to one of the teams.

Team Code
Russet robot.TEAM.RUSSET
Sweet robot.TEAM.SWEET
Maris Piper robot.TEAM.MARIS_PIPER
Purple robot.TEAM.PURPLE

Here's an example:

import robot

R = robot.Robot()

# ... (get some object called "markers")

if markers[0] == R.zone:
    print("Do something!")
else:
    print("Do something else!")

This code checks if the first marker in the list belongs to the current robot.

# Blockly

You can find the zone block in the Movement section.