creat a switch by using a varieble. | ScratchStats