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

Argument

Name
Type
Optional
target
{int:instance|int:object|all}
No

Returns

Not applicable.

Description

Destroy the specified or all instances or objects of this Layer. If {all} is specified, the instances will be destroyed instantly. Otherwise, they will remain until the next application frame.

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