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
.
setPosition
Parameters
int
spriteID
int
x
int
y
Return Values
void
- no return values
Signature
s3sprite.setPosition(
int
spriteID
,
int
x
,
int
y
)
Description
Changes the positions of the sprite instance with ID
spriteID
to (
x
|
y
) in pixels.