DarkBASIC Professional Help File

DX11 RESUME SPRITE

Resumes playing a stopped sprite with the frame sequence that was provided to the previous call to DX11 PLAY SPRITE.
An optional frame that the animation will resume from can be provided; if omitted the sprite will play from its current frame.
If the current or set start frame isn't within the range of the last played animation sequence, the first frame in that will be used instead.

Syntax

    DX11 RESUME SPRITE sprite, [startFrame]

Parameters

    sprite

> Dword
> The sprite to resume the animation of.

    [Optional] startFrame

> Dword
> The frame to start resuming the animation from. Omit to use the current frame of the sprite as the starting point.

Returns

This function does not return a value.

See also

SPRITE Functions Menu
DX11 Function Categories