Sleep suspends command script execution for number_of_seconds. Such pauses will not be included in any movie that is being recorded, because no new frames are drawn during that time; to generate pauses in a movie, wait should be used instead.
See also: pause