Drop The Flag Help!

Is this posted correct???
loop:

````if flag:
````````# How do we get fx and fy from the flag's pos?
````````# (Look below at how to get x and y from items.)
````````self.buildXY("fire-trap", 30, 45)
````````self.buildXY("fire-trap", 30, 31)
````````self.buildXY("fire-trap", 30, 16)
````else:
````````item = self.findNearestItem()
````````if flag:
````````````itemPos = item.pos
            itemX = itemPos.x
            itemY = itemPos.y
            self.moveXY(itemX, itemY)

If it doesn’t come out right, edit your post until you are following directions…

The directions were:
```
code
```

not:
```code

Then follow the directions on what to change IN the code and it should work (or at least work better) then we’ll see what easy is happening.

alright have a nice week end can you guys help me on monday

Closed Duplicate topic. Please continue the discussion in this thread.