# I'm trying to use widgets in macOS and I can't really figure out what they are meant to be capable of. Can I display the state of a switch and turn it on and off from a widget?