Shape.materialId

Returns the material id of a shape.

Kind: Member

Environments: Game

Game

Open the full Game reference

Get

Returns the material id of a shape.

Returns:

Type Description
integer The shape's material id.