Scratch for Java

Timer::everyMillis()

Checks if the specified number of milliseconds has passed since the last time this method returned true.

Syntax

Java

.everyMillis(millis)

Parameters

Name Data Type Description
millis int The number of milliseconds to wait before returning true.

Return

boolean

everyMillis()