isPositional
A Boolean property that indicates whether the node’s audio is altered based on the position of the node.
Declaration
var isPositional: Bool { get set }Discussion
If true, the audio mixer considers the position and velocity of the SKAudioNode relative to scene’s current listener node. The mixer applies distance attenuation, doppler shift, and pan effects to the sound. If false, then the sound is played normally. The default value is true.