delay()

Calls some other function after a time delay.

Here's a little program that draws a monkey after 2 seconds (that's 2000 milliseconds), then makes him dance after 5 seconds (5000 milliseconds).