My character won’t move after collecting three coins
# To grab the most gold quickly, just go after gold coins.
while True:
coins = hero.findItems()
coinIndex = 0
while coinIndex < coins.length:
coin = coins[coinIndex]
coinIndex = coinIndex + 1
if (coin.value == 3):
hero.moveXY(coin.pos.x, coin.pos.y)
coinIndex += 1
else:
pass