UseBuffer()

Syntax

UseBuffer(#Sprite)
Description
Changes the default rendering buffer (usually the screen) to the given #Sprite. This means than all following DisplaySprite() like commands will be rendered on the #Sprite.

To get back on the main screen buffer, use #PB_Default (= -1) as #Sprite value.

Supported OS

Windows, Linux

<- TransparentSpriteColor() - Sprite Index