Hmmm... Based on our above discussion, it sounds like you want to add a new child node each time your timer interval is reached. If that's the case, you don't want to add the new child node in
_process() as that'll add one in every frame (as you've noticed). Instead, you want to add the node in the timer's
timeout event. So, something like this (copying your existing
state = choose([hall,shelf,window])
var shelf = $hotovaskrinaotvorena
var TSP = $MainHall/Teddyspawnpoint
var spawnteddy = Teddy.instance()
That way, a new node is only added when the timer counts down, not (potentially) in every frame...