#107. Chain of steps
When the green flag is clicked, this script runs. What is the value of the **a** variable?
when green flag clicked set [a v] to (42) set [b v] to ((a) - (6)) set [a v] to ((b) * (2))
# When the green flag is clicked a = 42 b = a - 6 a = b * 2
let a = 0, b = 0; // When the green flag is clicked a = 42; b = a - 6; a = b * 2;
💡 Not sure? Build it in Scratch and try it out.