Dev - Lua Libraries

Lua Command: s3sprite.getColor

Parameters

Return Values

Signature

color color = s3sprite.getColor(int spriteID)

Description

Gets the color and transparency of the sprite with the given spriteID. See s3sprite.setColor for details.

Note:

All return values of color will be 0 if there is no sprite with the ID spriteID

Note:

See data types: color to learn how colors are specified!