Using variables and sensing. | ScratchStats