1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
Time
====
Time utilities. This object is available simply by typing `Time`.
Properties
----------
#### time
`time`: number, read-only.
Elapsed time, in seconds, since the application was started and measured at the beginning of the current frame.
#### delta
`delta`: number, read-only.
The time, in seconds, taken to complete the last frame of the application. Use this value to make your application behave consistently regardless of the frame rate.
#### now
`now`: number, read-only.
Elapsed time, in seconds, since the application was started and measured at the moment this property is evaluated.
*Available since:* SurgeScript 0.5.4
!!! tip
It's generally advisable to use [Time.time](#time) instead, because [Time.now](#now) may return different values in the same frame of your application.
|