About deleting structs

Emily

Member
Recently I started using classes (structs).
I have a question,
After creating an instance of the class with the object create event
If I delete my own object in a step event, will the class instance also be destroyed?
Or is it still in memory and must be deleted using some function?

#object1 create event

class = new Class();

#object1 step event

instance_destroy();
 
Top