Disabling all the code

Is there any possible way to create or find an extension that allows me to stop all code from running unless a certain requirement is met?
If yes please do tell me :smiley:

2 Likes

Hi

What sort of requirement are you thinking of ?

Regards

1 Like

For example, if a binary option of a button is switched from 0 to 1, then the rest of the code would be allowed to run, or else the rest of the code fwould be denied from running.

put the code in an if loop.

2 Likes

While loops pause everything also while they are running. You could do something like
While ((GameRunning) = (False));
(Whatever you want can do here)

1 Like