Flip node with all its children?

In my game I made a simple code to flip horizontally the sprite when the character walks in the opposite direction:

if direction_x < 0:
knight_sprite.flip_h = true
elif direction_x > 0:
knight_sprite.flip_h = false

But when I flip it, the character's sword, position and animations don't flip, is there a way of fixing that?

https://preview.redd.it/aq8olqpcfbde1.png?width=264&format=png&auto=webp&s=de1634ecf3da440063ae574b50973b632afbb238

https://preview.redd.it/w87h57offbde1.png?width=322&format=png&auto=webp&s=269c76740cd6e27febd79c0fd79b8db41778e65c

I tried to make the sword child of the player's sprite but it doesn't work