Shape.getColor

Returns the color of a shape.

Kind: Function

Environments: Game

Game

shape:getColor(  )

Open the full Game reference

Parameters:

Name Type Description
shape Shape The shape.

Returns:

Type Description
Color The shape's color.