What’s wrong with this block?

The search mine script pic
without the else it works fine, but with it it doesn’t work at all, it never runs the blocks

The reason is probably that the forever loop is making the if only call once, if so how do I fix that?

Right now you're using a normal boolean input. That means that, instead of getting the boolean to be used, you're just getting true or false.

You should use the Boolean (unevaluated) input and do this:

untitled script pic (16)

Thanks! That’s sure to help

I had no idea what that option did

Unevaluated inputs means that the reporter inside the input will not be ran to get the result until you call it. Every time you call it it will call the reporter once again to get the current value.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.