Increase or decrease audio volume

I want to create a sound that becomes quieter when the player stops, and increases when the player starts walking.

Is this an abrupt or a gradual change?

1 Like

gradual

It is possible and sharp, just it would be desirable to be gradual.

Here is the code that I have at the moment