# SetSoundInstanceBalance

## Description

Sets the current balance of the specified instance, with 0 being centered, -1.0 being all on the left speaker, and 1.0 being all on the right speaker, any values outside this range will be clamped. This works best with mono sounds but can be applied to stereo sounds. The instance ID is the value returned from PlaySound when you initiated the playing of the sound.

## Definition

SetSoundInstanceBalance( iID, balance )

void agk::SetSoundInstanceBalance( UINT iID, float balance )

## Parameters

- iID - The ID of the instance to modify
- balance - The new balance of the instance