Scratch for Java

ExtensionContext::beforeTick()

Browser availability: desktop-only.

This API requires the desktop runtime. Browser declarations may report the limitation without performing the operation.

Every tick, after the tick's input and before timers and run(). Game thread.

Syntax

Java

.beforeTick(hook)

Parameters

Name Data Type Description
hook Consumer<Stage>

Return

void

beforeTick()

Create Shareable URL

Select Sections