It kind of is. It can be done in the single switch Action. No need to use a Variable.
For more information, see the wiki Searching the Forum for Answers section.