Maybe I'm late.
To flip any node horizontally, set the scale
property to Vector2(-1, 1)
Vertically: Vector2(1, -1)
Example: I want to flip my sprite and collisionShape2D horizontally:
var flip = Vector2(-1,1)
$<sprite_name>.scale = flip
$<collisionShape2D_name>.scale = flip
If you use a scale for scaling objects then you'd have to set the value relatively I guess
Altought this won't work for Node2D, for that you'd have to instance that Node2D as a child inside another Node2D using it as an anchor, then flip the parent (anchor)
Image (somewhy it wont appear here): https://drive.google.com/uc?export=view&id=1QmPG2g99J2CvkrdVr5pCOdiciRnHHl8J
SIMPLE AND QUICKER SOLUTION: If you want to stay outta all those trouble you can just flip the whole player node instead.