code here
if ink == 0 :
# get_node("/root/Node2D/Nodedatos1").connect("posStart", self, "iniciop")
PlaceD = get_node("/root/GlobalNode").get("PlaceD")
if PlaceD == 1:
ink =1
iniciop()
func iniciop() :
position.x = 320
position.y = 50
i cant made the function iniciop() run in that place, i at start tought that was a problem in node connection but i have print(ink) and got 1 and PlaceD too then the requisites are afford. iniciop() just dont run, but it run well if i put it in ready or in procces at start(in this case i am get stuck but i only wanted to try if it ran in others places). i used the same code in the other cases. same line.
i can be a noob but i can affirm this situation just dont have sense.