How to make a sound audible inside one location but not outside it?

I was following this tutorial : Spline Based Audio For Unique Shapes | How To Add SFX To A River - Unreal Engine Tutorial - YouTube and managed to make it so the audio basically follows me (the audio itself moves on a spline), my question is how do i make it inaudible if standing outside some kind of an area and the other way around?

In this case i have a rain sound which i want to only hear from the inside (left of the red circle) and not when i’m outside that area, basically it is that way because the sound sample is of hearing the rain from inside a room and I do not want to hear that being outside the room area in game.

you could use triggers to activate/deactivate the sound when you cross the threshold, or use a customised gameplay volume to play sound when you are in it, although this will require some C++ tweaking