If you want the your player to face right while playing idle animation then under the if statement that triggers the to play the idle animation, type
Sprite.flip_h = false
Note that sprite is just an onready variable I created for this example and is not built in godot