Scratch for Java

Stage::countTextsOf()

Returns the number of texts of the specified class.

Syntax

Java

.countTextsOf(c)

Parameters

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

Return

long

countTextsOf()