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
.
getSize
Parameters
int
spriteID
Return Values
int
width
int
height
Signature
int
width
,
int
height
= s3sprite.getSize(
int
spriteID
)
Description
Gets the absolute
width
and
height
of the sprite with the given
spriteID
. See
s3sprite.setSize
for details.
Note:
width
and
height
will both be 0 if there is no sprite with the ID
spriteID
.