Scratch for Java

Stage::count()

Returns the number of sprites of the specified class.

Examples

View on GitHub

Syntax

Java

.count(c)

Parameters

Name Data Type Description
c Class<T> the class of the sprites to count

Return

int

count()

Create Shareable URL

Select Sections