- In
turret.gd
enemy_path
is declared but never assigned. - the following error occurs in
find_best_target
whenenemy_path.get_children()
is called:Cannot call method 'get_children' on a null value
my code looks just like yours. What could be causing this?