SpriteOutput()

Syntax

OutputID = SpriteOutput(#Sprite)
Description
Returns the OutputID of the specified sprite to perform 2D rendering operations on it. It will use the PureBasic 2DDrawing library (see StartDrawing()).

Note: It's not possible to use SpriteOutput() (and therefore the 2DDrawing functions) with a '#PB_Sprite_Alpha' sprite.

Supported OS

All

<- SpriteID() - Sprite Index - SpritePixelCollision() ->