Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | D.Q.Li |
the code is short
onready var card1 = get_node("coordination/Panel1")
var debug = card1.rect_position
and the error message is:Invalid get index ‘rect_position’ (on base: ‘Nil’).
I tried both position and rect_position and none worked. Though the two lines of code came from a bigger section attemps to get coordination from other types of nodes works perfectly. Please help me out.