He'll get your position with a getnode of your player's node. Since his node and the player's node must be on the scene, then a getnode of the player from this scene will give you the possibility to get then the global transform of the player. And since you can do that within the script of the enemy, you simply need to substract the translation vector of the enemy from the translation vector of the player, and the resulting vector gives you the direction to the player.
Excuse me to ask, but I've the feeling you're uneasy with vector maths. If it's the case, you should maybe check godot's doc, chapter about vectors.