showing results for - "gdscript add child node"
Sofie
23 Apr 2019
1in gdscript, write:
2
3
4var node = Node.new(); # You can use any node class here, not just the default
5
6func _ready():
7	# Put some code here to modify the node variable (usually just change some
8    # properties, or connect some signals)
9	add_child(node)