GetDeltaSeconds

From Onset Developer Wiki
Revision as of 15:58, 27 June 2021 by FlyingFork (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetDeltaSeconds

Type: Function
Context: Server & Client
Introduced: v1.0

Description

Gets the time between game ticks/frames.

Syntax

GetDeltaSeconds()

Parameters

  • This function has no parameters.

Return Value

  • Returns the delta time between the last game ticks/frames.

Example

print("Delta Seconds: " .. GetDeltaSeconds())

See also