Hello,
I just tested the Set Variable action to use it in my scene.
I just realized that this variable can only be used at its declaration level.
If we create it at the higher level, then « redefine » it in a If Then ElseThen block, we don’t find it at the higher level, neither the variable nor its value.
I agree with you about the scope of the variable at all levels. I voted.
However, you mention the fact of ‹ redefining a variable ›, but I don’t think it will work: even if you give it the same name, gladys will make a difference between the variable {{ 1.1 variable }} and {{ 3.1 variable }}. So on this point, it’s the request to be able to modify a variable that will help: