This Is The Code Im Using But I cant fiqure out whats wrong
game:spawnPlayerXY("captain", 10, 10)
game.addMoveGoalXY(30, 30)
game.spawnXY("fence", 36, 30)
This Is The Code Im Using But I cant fiqure out whats wrong
game:spawnPlayerXY("captain", 10, 10)
game.addMoveGoalXY(30, 30)
game.spawnXY("fence", 36, 30)
you need to add the game.setMoveGoalXY() comand
you also need game. not game:

oh i ment add
What is the problem?