Is there a way to check if block in status on/off?
-
Is there a way to check if block in status on/off?
The idea to make one only button, then click on it - it enables block, but if this block already enabled - switch it off. -
The only way I can thik of now is creating a short structure checking the situation of that block. Honestly I had never consider something like that. Interesting idea.
-
@gsmtricks Hello, do you mean it should always stay off, then when click it - > enables it for one tick? (one conditions block run trough) then resets it to off?
OR... Click -> ON, click -> OFF.One way around this could be with the check button state block (button remains pressed if you have the second answer)
-
I figured this out. I am not using the button as a button, I used shape....