Hiya, I can see what the problem is, because events run top to bottom in construct, it is setting it to 1 then back to 0 in the same tick i.e. you won't see anything change. You could solve it by putting a wait or timer before setting the variable. Another way would be to actually make a toggleable variable so have wood.checked as a boolean, on J pressed toggle the boolean, then have events if true or false do such a thing instead of 0/1. That would mean a single press of J toggles the boolean and avoids the setting back and forth problems.