Scratch for Java

Timer::millis()

Returns the number of milliseconds of game time since the program started. Game time stands still while the game is paused and runs slower or faster with the game speed (see Window.pause() and Window.setGameSpeed(double)); without either, it is the real time.

Examples

View on GitHub

Syntax

Java

.millis()

Scratch

(timer)

Return

int

millis()

Create Shareable URL

Select Sections