Help shine getter


#1

it won’t move to at all
can you help me. thank you
here is my code
while True:
coins = hero.findItems()
coinIndex = 0

# Wrap this into a loop that iterates over all coins.
while coinIndex < len(coins):
    coin = coins[coinIndex]
    # Gold coins are worth 3.
    if coin.value == 3:
        hero.moveXY(coins.pos.x, coins.pos.y)
    coinIndex += 1
    pass

#2

Post the error message. I don’t see anything wrong with this code


#3

the error line is
hero.moveXY(coin.pos.x , coin.pos.y)