Godot Version
4.4.1.stable
Question
Hey. So i needed to use await get_tree().create_timer().timeout
in my script multiple times, and decided to put it in a function
func wait(seconds):
await get_tree().create_timer(seconds).timeout
but when i use the function it does nothing. What could the problem be?