DXS DRAW SPRITE RECTANGLE
Draw a rectangle extract from the sprite at X,Y coordinates. Left, top, right and bottom coordinates are relative to the sprite image.
This command can't be call outside a DXS BEGIN SPRITE RENDER and DXS END SPRITE RENDER pair.
An optionnal paramater allows to indicate sprite depth. For more information about this, see DXS SET SPRITE DEPTH SCALE.
Syntax
DXS DRAW SPRITE RECTANGLE Sprite Pointer, Left, Top, Right, Bottom, X, Y
DXS DRAW SPRITE RECTANGLE Sprite Pointer, Left, Top, Right, Bottom, X, Y, Depth
AdvancedSPRITES : Commands Menu