sm.item.getMaterialId

Returns the material id of a shape uuid.

Kind: Function

Environments: Game

Game

sm.item.getMaterialId( uuid )

Open the full Game reference

Parameters:

Name Type Description
uuid Uuid The uuid of the shape.

Returns:

Type Description
integer The shape's material id.