Need to check if the player is moving