A Conditional Action is a bit more complex than a Standard Action as it is able to evaluate if a condition is true or false and act accordingly.
To illustrate this capability, you will now turn the Mute button you created in the previous section into a toggle button. This means that you want your button to be able to do two entirely different things:
- Firstly it needs to be able to mute the audio and to change the state of the Mute button to Active.
- Secondly, it needs to be able to unmute the audio and to change the state of the Mute button back to Normal.
In order to choose which set of actions to perform, your button needs to evaluate if a condition is true or false. In this example, you first need to verify if ...