It's because there is a game manager that has 2 states, player turn and enemy turn, the player can only move when it's his turn. Then the enemies will have their turn (which is made in seconds instead of what they do). Then it's the players turn again. With that cycle the player can move all few seconds.