FANDOM


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

SyntaxEdit

int dbSpriteOffsetY ( int iSprite )

UsageEdit

int yOffset = dbSpriteOffsetY( 1 );

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

See AlsoEdit

dbSprite
dbOffsetSprite

dbSpriteOffsetX
dbSpriteOffsetY