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

  • old_kipperold_kipper Member Posts: 1,420
    search for toggle in the new project search box in the editor. You should be able to find something there that will sort things.
  • LBGLBG Member Posts: 277
    sorry... where is the search box?

    Thanks
  • LBGLBG Member Posts: 277
    found it...

    Thank you :)
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    go to the Youtube cookbook videos and search for on/off There is a great video on how to accomplish what you want.
Sign In or Register to comment.