Scratch for Java

Window::isTransitioning()

Returns whether a stage transition is in progress, including creation of the destination stage.

While a transition is running, calls to transitionToStage(Stage, int) are ignored. A program that moves the player or builds a new stage in the same breath as a warp should use transitionToStage(Supplier, int) so those changes are deferred until the screen is black and skipped when a transition is already running.

Syntax

Java

.isTransitioning()

Return

boolean

isTransitioning()

Create Shareable URL

Select Sections