AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkScene.Sleep Method

Suspend the scene (and application) for a specified number of milliseconds.

Syntax
Pascal
class procedure Sleep(const Milliseconds: Integer);
Parameters 
Description 
const Milliseconds: Integer 
The number of milliseconds to sleep. 

It is not recommended that you use this command to suspend an app for more than the time of one frame (roughly 17 milliseconds).

Copyright (c) 2012. All rights reserved.