Scratch for Java

MapObject::getPropertyFloat()

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 specified property as a float.

Syntax

Java

.getPropertyFloat(name)

Parameters

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

Return

float

getPropertyFloat()

Create Shareable URL

Select Sections