Skip to content

RemoveSpriteSheet

Description

Removes the given spritesheet from memory, if it is already loaded.

Note

This function does not affect files in the datafile or device storage, only the engine memory.

Note

Spritesheets loaded from animation files cannot be removed.

Parameters

  • Path The file path of the target spritesheet to remove, relative to Data/Sprites/.

Return Value

None.

Syntax

RemoveSpriteSheet(string Path)

Example

RemoveSpriteSheet("Test/Objects.gif")