Is there a wait function in godot?

Godot Version

4.2.1

Question

how can i do wait() in godot

If you want to wait for a few seconds, you could use SceneTree.create_timer().

A usage example is available in the docs:

it helped me! thank you:)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.