I cannot seem to get init to work. how do you instantiate new nodes with parameters?
how to instantiate nodes with parameters
I'm not sure you can pass parameters on the instance call, but you can adjust properties and call functions after the node has been instanced. I generally make a function called setup
on the instanced scene, and then I handle anything that needs to be initialized post-instantiate there.
2 years later
Megalomaniak added the Godot Help tag .