Hi!
Blockly is technically Aseba Studio but with text blocks instead of keyboard text. So you won't find exactly the same thing as in VPL, especially the states.
The states in VPL, as you said, creates a table of variables and then tests these variables.
I made an example of what can be done in Blockly just here:
Here, I declare a variable in the beginning "my variable" and set it to "0".
Then, when you press the center button, it tests the value of "my variable":
- If it is equal to 0, I turn the robot red and set "my variable" to 1
- If it is equal to 1, I turn the robot yellow and set "my variable" to 0
So, it's just creating a loop. I press center, it turns red, I press again, it turns yellow, then red again, etc.
So in short, yes, you have to use the variables :)
Hope this help, ask if something is not clear.
Christophe