Dev - Lua Libraries
Lua Command: s3sprite.setScale
Parameters
Return Values
void
- no return valuesSignature
Description
Sets the scale of the sprite with the given spriteID. The scale is the size relative to the original image size. A scale of 1.0 (default) means that the sprite will be displayed in the original size of the used source image. The scale can be specified separately for the width (widthScale) and height (heightScale). Negative values can be used for mirroring.