trying to get goal name independent from parent

for collision detection. unsuccessful so far
got goal name independent of other tiles

AFTER LIKE 8 YEARS OF READING ABOUT THINGS I DONT UNDERSTAND