Volume Buttons - How do we do it?

Hello

I apologize for changing my mind on the volume sliding tool. I still couldn’t figure it out even with help and guidance so I’m going to do a button volume route.

So attached is my current event. However, if I click on the button, it causes the volume to start but multiple presses on the button causes a loop.

I will make triangle buttons but this button is an example. How would I get the volume to start at 0 and every time the button is pressed, it goes up 0.1?

Cheers!

Azaroth

The cursor or touch is on the circle
The mouse button is pressed
Change the global variable volume + 0.1

And also, are you talking about this?
image
Where the 0 is up there and 1 is down there?
If that’s the case then along with these:

The cursor or touch is on the circle
The mouse button is pressed
Change the global variable volume + 0.1

Also, do this:
Change the angle of circle = (GlobalVariable(volume)/1*180)-90

Nope, they’re not :wink:


Remember to add the trigger once, or it’ll be full volume within 1/10th of a second.


What’s with the /1? Just multiply volume by 180.

Changing of angle so it acts like a dial is a neat idea, if that’s what @Primethion is after.

@Primethion, does the volume go down at all, or does it only increase?

Hey Mixen.

So I did like you said then did the action: Change the global variable VolumeLevel add 0.1.

Now what do I add the the VolumeLevel global variable to make it produce sound? Because currently the VolumeLevel global variable is set to 0.

Hey MrMen!

It would go down as well but I was thinking about adding a separate arrow pointing left and the arrow pointing right will increase the sound.

Lol, I am so dumb :sweat_smile::sweat_smile:.