Turtle, Observer, Patch

wait seconds

Parameters:
seconds Number A number of seconds. Decimals are allowed.

Description:
Caller waits seconds seconds before continuing.

This command is per-thread - meaning if you have two buttons that each call wait, they will not wait for one another.

Examples:
to crawl
fd 1
wait 2.1
end

crawl

The turtles go forward 1 step and then wait for 2.1 seconds.

Related Commands:
wait-until