AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkScene.Milliseconds Property

Get the number of milliseconds since the app was started.

Syntax
Pascal
class property Milliseconds: Integer;

Reading this property will internally make a system call to get the amount of time passed, therefore it's advisable to not call it too often per frame. A better approach might be to store the time value and reuse it throughout the current frame.

Copyright (c) 2012. All rights reserved.