Set Sprite Colour

Sets the colour of a sprite

Syntax

Set Sprite Colour spriteID,colour
Set Sprite Colour Off

Description

Setting the colour of a sprite prevents it from being drawn normally.

Instead, the shape of the sprite is drawn but only as a solid block of colour. This is useful for some graphic effects (e.g. shadows).

Using the command Set Sprite Colour Off returns the sprite to being drawn normally again.

spriteID is the number of the sprite.

colour is the new colour to drawn the sprite in.


Table of contents