Scratch for Java

MapObject::setClassName()

Browser availability: awaiting-browser-support.

Some desktop overloads are not declared by the browser. See the missing signatures in the compatibility contract.

Tiled 1.9 renamed an object's type to class; both end up in type (an explicit type wins).

Syntax

Java

.setClassName(className)

Parameters

Name Data Type Description
className String

Return

void

setClassName()

Create Shareable URL

Select Sections