Not sure how to explain this

so Is there a way to have a set of events on the events sheet only trigger when a condition somewhere else on the event sheet is meet. ex: on the first frame on my scene i create a bunch of text objects. when i press a button. all of the text objects are destroyed and the prosses of creating the text objects is repeated again


heres a screen shot of what im trying to say. I need the code for creating the text objects to happen again.

Yes, you can do that with variables.

I am not sure if the screenshot is conveying what you want to do as there are no events in which you create text-objects.

If you want to create something on the first frame you can use the “At the beginning of the scene”- condition. You can destroy them with your button press and of course you can create the objects any time again in your scene, whenever you want. It all depends on the condition.

If you have a lot of objects and you don’t want to put the same events again in your event sheet, you could consider using an external layout.

Wait a second, this was the wrong screenshot

Could you explain what happens at the moment and what you actually expect to happen with these events?

I don’t know what else you want to add later but some of your events appear to be extremely over-engineered. For instance the block with the OR and AND conditions would just work if you put the ‘w-key press’, the ‘cursor is on worldIcon’ and ‘Left mouse released’ in a block one after another., like: