Skip to content

Quiz: Introducing Loops

2 min read

1. Why must you include a wait command inside a loop?

Show hint

The game is single-threaded. If a script runs continuously without pausing, nothing else gets a chance to run.

2. What does wait 0 do?

Show hint

Even a wait of 0 milliseconds has a special meaning — it still yields control.

3. In a while true loop, how do you exit the loop?

Show hint

There is a specific command designed to exit a loop early.