TransparentSpriteColor()

Syntax

TransparentSpriteColor(#Sprite, Red, Green, Blue)

Description

Change the sprite transparent color (when displayed with DisplayTransparentSprite()). If the #Sprite value is -1, then the default color (normally black (0,0,0)) is changed to the new given one and all future loaded sprites (with LoadSprite()) will use this color as the transparent one.

Supported OS

Windows, Linux

Sprite - Index