Hi,
use:
Sound.get('sound').setVolume(0.5);
You will need to give your sound a name in the editor.
The volume needs to be between 0 and 1. 0.5 for e.g. is 50% volume.
ps: This is JavaScript not Java.
Java code to adjust audio clip volume using EVAL action??
- Bright_Sprinkler
- Explorer
- Posts: 24
- Joined: Sat Aug 28, 2021 8:11 pm
- Contact:
Who is online
Users browsing this forum: No registered users and 2 guests