Dev Blog
Info
Dev
Overview
Definitions
Lua API
Data Types
Tutorials
Newsletter
Dev
Home
Data Types
Definitions
EntityDef
AttributeDef
Lua Libraries
s3sprite
Dev - Lua Libraries
Lua Command:
s3sprite
.
getColor
Parameters
int
spriteID
Return Values
color
color
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!