the script is attached to the "ennmy_sprite" sprite.
here is the scene tree:

and here is the code:
extends Sprite
var player_sprite
func _ready():
player_sprite = get_node("/root/player/player_sprite")
set_process(true)
func _process(delta):
if player_sprite:
print("player_sprite")
i'm having : error Node not found