DbSpriteOffsetX

This command will return an integer value of the current amount of X shift applied to the specified sprite.

Syntax
int dbSpriteOffsetX ( int iSprite )

Usage
int xOffset = dbSpriteOffsetX( 1 );

This code will look at sprite number 1 and return the value of its horizontal offset into the integer xOffset.