Scratch for Java

Window::getDeltaTime()

Gets the seconds of game time passed since the last frame. While the game is paused this is 0, and at half speed half the real time.

Examples

View on GitHub

Syntax

Java

.getDeltaTime()

Return

double

getDeltaTime()

Create Shareable URL

Select Sections