If Audio Is Paused Icon If Audio Is Paused

This action can be used to check whether an instance of any sound resource is currently paused in your game. You give the sound resource to check for from the asset explorer and the function will return true if it is paused and false if it is not, although if you check the "not" flag, this is reversed and the function will return true if the sound is not paused and false otherwise.

Note that to add actions into the "if" block, they should be dropped to the side of the action, as shown in the image below:

If Audio Is Paused drop actionsThese actions will now be run if the "if" evaluates to true, while any actions dropped elsewhere will be performed after the "if" block.

 

Action Syntax:

If Audio Is Paused Action

Arguments:

ArgumentDescription
SoundThe sound resource to check

 

Example:

If Audio Is Paused ExampleThe above action block code checks to see if the given sound is currently paused and if it is, it resumes playing it.