How do I duplicate something?


I am trying to duplicate an enemy every 10 seconds, but I can’t figure out how to use the duplicate() method.

I think what you want to do is instantiate the scene every 10 seconds.

Func spawn_enemy():
  Var enemy = load("res://enemy.tscn").instantiate()
1 Like

Thanks! I ended up figuring this out on my own, but I appreciate the help.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.