1) Give a description of the problem
My piston working, but it has some redundant blocks which I don’t see in other examples, and I am not sure how to get rid of them. Namely, two:
- the
when true
andwhen false
inside anif
. They just appear when I add a condition, and I am not sure how to get rid of them. -
with
block for setting variables. I can’t find a way to just set conditions in athen
. Action requireswith
and adds it in the code.
2) What is the expected behavior?
An if
without when true
and when false
, an action without with