Help with Copper Meadows?

Collect all the coins in each meadow.

Use flags to move between meadows.

Press Submit when you are ready to place flags.

while True:
flag = hero.findFlag()
if flag:
# Pick up the flag.
hero.pickUpFlag(flag)
else:
# Automatically move to the nearest item you see.
item = self.findNearestItem()
if item:
position = item.pos
x = position.x
y = position.y
self.moveXY(x, y)

Your syntax looks correct but no one can see the structure of your code because you didn’t use the </> button when you pasted it here. Also, you haven’t stated what’s wrong.

1 Like

Yes, like MunkeyShynes said. You also need to tell us your problem(and maybe your gear)