#How do i solve this lavine

5 messages · Page 1 of 1 (latest)

glass hare
#

_process will be called again immediately. Your await does nothing to stop that. It pauses the current function but godot will call a new one the next frame

toxic forum
#

any idea on how to avoid using process?

glass hare
#

I don't really understand what you are trying to do but if you want a function that is called once per second you can use a Timer node and the timeout signal.
If one_shot is off a function connected to that signal would be called repeatedly with the wait_time interval while the timer is running

toxic forum
#

Im trying to repeat spawning objects but with a cooldown

glass hare
#

then a timer node is the best option