On/Off switch extensions doesn't work with variables

I installed the extension slider and switch. I have no problem with the slider and I am used to using variables especially the global ones. but I can’t make the switch and the global variables to work together. How do I operate the switch easily?

Can you send the screenshots of all your events, extensions and global variables that you used? Because people cannot help you if you don’t provide screenshots of your issue.