DarkBASIC Professional Help File

DX11 GET SPRITE LAYER

Retrieves the layer that the specified sprite belongs to.
Sprite layers are used to change the draw order of groups of sprites, or hide them, all at once.

Syntax

    Return Dword = DX11 GET SPRITE LAYER(sprite)

Parameters

    sprite

> Dword
> The sprite to get the layer of.

Returns

The layer of the given sprite.

See also

SPRITE Functions Menu
DX11 Function Categories