Layer.destroy() - Mtax-Development/GML-OOP GitHub Wiki

Argument

Name
Type
Optional
forceDestruction?
Yes

Returns

{undefined}

Description

Remove the internal information from the memory. If there are persistent instances bound to this Layer, they will be not be destroyed, unless the destruction is forced, but all Data Structures of this Layer will be always destroyed.

⚠️ **GitHub.com Fallback** ⚠️