Hello just learning here but looking for some help 👍
I am having trouble getting a sound file to play OnSelect of another button / icon. Trying to add a sound for button presses to engage the user a bit more during navigation etc (Using a mouse click sound for my audio file)
I have tried:
Adding an audio file, setting the Start property to varClick, and setting the Visible property to off
Then for my button to control playing the file:
Reset(Audio1); UpdateContext({varClick: false}); UpdateContext({varClick: true}); Navigate(BrowseScreen1, ScreenTransition.None)
Should I be using Set instead of UpdateContext?
I have also tried:
Setting my button to navigate to another page OnSelect property to
Reset(Audio1); Set(varClick, true); Navigate(BrowseScreen1, ScreenTransition.None)
Neither method is working for me I'm sure I am missing something
Any tips are greatly appreciated 🙂