0 votes

I have:
|Node2D
|| Label
|| KInematicBody2D
|||Area2D

how get in Area2D Label???

asked Nov 23, 2019 in Engine by KR14TOR (12 points)

1 Answer

0 votes

you can use somethink like that $../../label or get_node('../../label')

but i think it's bad way, better emit signal in area2d and in the Node2D receive signal and do logic with label

answered Nov 24, 2019 by Ternarycat (24 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.