Hi guys!
I added a click and move behavior on my 2D game, using NavigationAgent2D, but I'm facing an issue when I use transform.x.x to flip my CharacterBody2D, as you can see below:

My character moves to the opposite direction when I set a negative transform.x.x to him, before he starts the movement.

Right here is the flip code that is fired after I got the click event:

Note: The SCALE const is 1.

Righ here you can see the movement code, that is on physics process looping and it's fired when I have a path defined on my NavigationAgent2D:

Do you have any clue about what's wrong?
Any help is appreciate.