Disabling code blocks with filter

I’m trying to use a Filter block as an “if” statement, but because triggers have no inputs I’m a bit stuck. Here’s an image that should make it clearer what I’m trying to do, eg make an object clickable and moveable in one game state but not in another:

I assume Switch would be better, but again, where would I connect it to?

You can just pause the game with the pause behaviour in the game flow section.

Pause pauses the entire game. I’m trying to disable click and drag mouse controls while the sprites do what they’ve been “told” to do, and reactivate it when it’s time to “teach” them again. Like Frozen Synapse.

just put the output of the other switch into this new switch (a switch for x and y)

1 Like