Scratch for Java

Stage::count()

Returns the number of sprites of the specified class.

Syntax

Java

.count(c)

Parameters

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

Return

long

count()