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 not be destroyed, unless the destruction is forced, but all Data Structures of this Layer will be destroyed in either case.

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