Dev - Lua Libraries

Lua Command: s3sprite.getAlpha

Parameters

Return Values

Signature

float alpha = s3sprite.getAlpha(int spriteID)

Description

Gets the transparency of the sprite with the given spriteID. See s3sprite.setAlpha for details.

Note:

alpha will be 0 if there is no sprite with the ID spriteID