I made particles that represent fire and smoke, for the torch my player is carrying. For the down direction they are on place (it's a top down 2D game), but for the other three directions I need to change their relative position to the player, so they move as the torch does.

Okay, I am new to coding, so you may notice many mistakes. This code does nothing.
First of all, using print, I can tell that the code doesn't understand when the player is changing direction (the variable called 'face'). This is the first time I am trying to call a variable from another node and I can't detect what I did wrong. I tried other things as well, like $Player, etc. The face variable works fine on the player node, so the problem shouldn't be with the variable itself, but the way I am trying to get it.
I am also testing the position change. In a test code, tried Input.is_action_just_pressed and assigned a key to change the position (position.x = 10), just to see if I can successfully manipulate the position, but nothing happened.
What should I do to make this work?
P.S. I hope I placed it under the correct category. I believe it is more of a coding issue rather than 2D.