Scratch for Java

Stage::getPixels()

Returns the colours of everything this stage has drawn.

Example usage:

int[] colours = this.getPixels().main();

Examples

View on GitHub

Syntax

Java

.getPixels()

Return

Pixels

getPixels()

Create Shareable URL

Select Sections