(39) 's Extra Blueprint Nodes for You as a Plugin, No C++ Required!

**New Globally Accessible Sound Node

Get Sound Volume of any Sound Class**

node completes the set!

Now you can set and get the volume of any sound class using my Victory BP Library!

Here’s forum link to my Set Volume Node!


**C++ Code**



```


float UVictoryBPFunctionLibrary::VictoryGetSoundVolume(USoundClass* SoundClassObject)
{
	FAudioDevice* Device = GEngine->GetAudioDevice();
	if (!Device || !SoundClassObject)
	{
		return -1;
	}
	    
	FSoundClassProperties* Props = Device->GetSoundClassCurrentProperties(SoundClassObject);
	if(!Props) return -1;
	return Props->Volume;
}


```