Yes. Anything listed under the “Interactions” tab supports logic cases. It’s a little hard to find, but it’s also possible to toggle cases between IF and ELSE IF:
It allows you to separate evaluating conditions that have nothing to do with one another. For example:
Let’s say that, no matter what, a global variable should be set when a button is clicked:
Now let’s say that if the state of a dynamic panel determines which of two shapes should be shown. Since the variable should always be set, it doesn’t need to be part of the condition to determine what shape to display, so you would toggle the first case of evaluating the panel state to IF:
Another thing to keep in mind is the interaction “Fire Event” is your friend.
It allows you to put logic on a widget that other widgets can trigger kind of like a function. I often use them for what I call “page variables”. I have different actions set the text on a hidden widget and then trigger its “Move” event which performs something based on the value of it’s text.