If the enemy and the player are together in a scene you could just do:
var player = get_parent().get_node("player")
target = player.global_position
Of course, make sure when you use the get_node(), you pass the actual name of your player scene. I hope that helps!