Shape.getMaterial

Returns the material of a shape.

Kind: Function

Environments: Game

Game

shape:getMaterial(  )

Open the full Game reference

Parameters:

Name Type Description
shape Shape The shape.

Returns:

Type Description
string The shape's material.