~~NOTOC~~ <=[[4rpl:start| Index]] * [[4rpl:commands:clearthemeoverlay|Clear]] * [[4rpl:commands:Createthemeoverlay|Create]] * [[4rpl:commands:Destroythemeoverlay|Destroy]] :!: Available in version 1.3 and later. ====== DestroyThemeOverlay ====== DestroyThemeOverlay(<-overlayNumber) ===== Description ===== Destroys a theme overlay texture. The overlayNumber should be 0 or 1. If you use an overlay for a temporary effect in the game, then destroy it when done to prevent it from being saved with the map. Note that creating a new overlay texture has a performance penalty, so only destroy an overlay texture when you are done with it. ===== Examples ===== DestroyThemeOverlay(0) <=[[4rpl:start| Index]]