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
.
getBlend
Parameters
int
spriteID
Return Values
int
blendMode
Signature
int
blendMode
= s3sprite.getBlend(
int
spriteID
)
Description
Gets the
blendMode
of the sprite with the given
spriteID
. See
s3sprite.setBlend
for possible return values.
Note:
blendMode
will be 0 if there is no sprite with the ID
spriteID