sm.item.getMaterialId
Returns the material id of a shape uuid.
Kind: Function
Environments: Game
Game
sm.item.getMaterialId( uuid )
Parameters:
| Name | Type | Description |
|---|---|---|
uuid |
Uuid | The uuid of the shape. |
Returns:
| Type | Description |
|---|---|
| integer | The shape's material id. |