pause()
Creates an action that tells an audio node to pause playback.
Declaration
class func pause() -> SKActionReturn Value
A new action object.
Discussion
This action may only be executed on an SKAudioNode object. The audio is paused, and if restarted, resumes at where it was paused.
This action is not reversible.
See Also
Controlling the Audio of a Node
playSoundFileNamed(_:waitForCompletion:)play()stop()changePlaybackRate(to:duration:)changePlaybackRate(by:duration:)changeVolume(to:duration:)changeVolume(by:duration:)changeObstruction(to:duration:)changeObstruction(by:duration:)changeOcclusion(to:duration:)changeOcclusion(by:duration:)changeReverb(to:duration:)changeReverb(by:duration:)stereoPan(to:duration:)stereoPan(by:duration:)