Scratch for Java

Text::getCurrentFontIndex()

Get the index of the current font.

Syntax

Java

.getCurrentFontIndex()

Scratch

font [number v]

Return

int

getCurrentFontIndex()