Can't understand how to replace a node with any other one

I want to replace node EnemyPlaceHolder to skeleton, which exists in the project files, but i don’t know how, tried to use function “replace_by” but when i incert path to the file it says i need to insert node and not a string, and i don’t know what to do with it now


See how Node instantiation works in Godot.

1 Like

Ooh, i guess the information here helped,

These last three lines got me to spawning a sceleton, tnx, now i’ma try figuring out spawning it at the spawner actor position :smile:

1 Like