Answers for "yield godot"

0

yield godot

# Resume execution the next frame.
yield(get_tree(), "idle_frame")

# Resume execution when animation is done playing.
yield(get_node("AnimationPlayer"), "animation_finished")

# Wait 5 seconds, then resume execution.
yield(get_tree().create_timer(5.0), "timeout")
Posted by: Guest on March-25-2022

Python Answers by Framework

Browse Popular Code Answers by Language