Scratch for Java

MapObject::getPropertyInt()

Browser availability: desktop-only.

This API requires the desktop runtime. Browser declarations may report the limitation without performing the operation.

Retrieves the value of a property with the specified name and converts it to an integer.

Syntax

Java

.getPropertyInt(name)

Parameters

Name Data Type Description
name String the name of the property to retrieve

Return

int

getPropertyInt()

Create Shareable URL

Select Sections