Couldn’t find the “script variables” block anywhere; check the second Scratch program on https://sites.google.com/site/appelacad/home/collatz-conjecture . By the way, that’s where I got this program!