Shape.setColor

Sets the color of a shape. This is similar to coloring with the Paint Tool.

Kind: Function

Environments: Game

Game

shape:setColor( color )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
shape Shape The shape.
color Color The color.