Making a simple sound button.

swalkerswalker Member Posts: 29
edited May 2012 in Working with GS (Mac)
Hey all. I am just trying to make a simple Actor that if pressed, plays a sound. I can only seem to get it so that the sound is made if the mouse is pressed anywhere on the preview screen, I need to make it so it only plays the sound if I click on just the actor. I am sure this is easy to do, just having problems finding a tutorial for this most basic of tasks! Thanks in advance.

Best Answer

Answers

  • britto24britto24 Member Posts: 35
    edited May 2012
    Rule: when touch is pressed
    Like @JohnPapiomitis said...create a rule on the actor that you want to play the sound and say Rule, when touch is pressed, play sound behavior.

    Hope that helps!
  • swalkerswalker Member Posts: 29
    Yup - got it. Not sure why I couldn't get this to work before (sure I tried that!) - works now, thanks folks.
Sign In or Register to comment.