Toggle button on off...

LBGLBG Member Posts: 277
edited November -1 in Working with GS (Mac)
Hi,

I'm doing a couple of last minute fixes and came across a couple of buttons that aren't working. I basically want to toggle the sound on/off using a button.

I currently have - when pressed change boolean to true/false (depending on current value). The problem is that it is currently flickering on/off really fast. It seems to be reading the duration the finger is down rather than toggling on/off for each press. Is there any fix for this or a work around?

Many thanks

LBG

Comments

Sign In or Register to comment.