Get current distance from Spatializer

Hi everyone,

I wondered if it is possible to get the current distance from the spatializer effect, and use it to automate other effects/things.

The Distance built in parameter automatically gets the information on how far the event emitter is from the listener. Otherwise you would need to use a combination of EventInstance::get3DAttributes() and System::getListenerAttributes() to do the calculation in your game’s code.

https://www.fmod.com/resources/documentation-api?version=2.1&page=studio-api-eventinstance.html#studio_eventinstance_get3dattributes

https://www.fmod.com/resources/documentation-api?version=2.1&page=studio-api-system.html#studio_system_getlistenerattributes