# SetSoundInstanceVolume

## Description

Sets the current volume of the specified instance, between 0 and 100. The instance ID is the value returned from PlaySound when you initiated the playing of the sound.

## Definition

SetSoundInstanceVolume( iID, vol )

void agk::SetSoundInstanceVolume( UINT iID, int vol )

## Parameters

- iID - The ID of the instance to modify
- vol - The new volume of the instance, 0 to 100