Dev - Lua Libraries

Lua Command: s3sprite.getPosition

Parameters

Return Values

Signature

int x, int y = s3sprite.getPosition(ASpriteObject sprite)

Description

Gets the position of sprite in pixels.

Note:

x and y will both be 0 if sprite is no valid sprite instance.