Hello, I am trying to make objects spawn in my main scene at random times, but I can't seem to grasp the needed code to do this. I came from Unity and the new syntax has been very hard to grasp so far.

So far all the code I have is:

	var object_start_pos = $ObjectStartPos.get_children()[0].global_position
	var selected_pos = object_start_pos[randi() % object_start_pos.size()]
	$ObjectStartPos.emit
	$Timer.start()

    IronGuy at random times

    How far apart are the times?

    One approach is to use a one-shot Timer that spawns an object when it times out, and then restarts itself to run for a random interval before timing out again.

    If the spawn times are very close together, such as a few milliseconds, then a Timer might not be practical.