I have a game with (i.e.) 1 sprite and a text object.
Each time an new sprite object instance is created, also a text object instance is created for debugging purposes.
I use those texts to display sprite's variable I need to check.
If i delete the text object from the object's list all text objects references are removed from events/actions and that's ok.
But if I later need the text object again I need to recreate it and recreate all related events.
I'm looking for a way to disable this object when I do not need it (without deleting it).
I can't simply disable the "create text object" even in the event sheet because those objects there are other references to those.
I.e I have
Select sprite where xxxxx
Select text_object where xxxxx
in the same event. And if the text is not created the event is not fired.
Is there a way to disable object so all related events/actions are toggled disabled?