Hidden buttons still working even though alpha set to 0

GLGAMESGLGAMES SingaporeMember Posts: 988
edited December 2011 in Working with GS (Mac)
Hi guys,
I have suddenly encountered this issues which seems to work in the past but now all button on the scene which are hidden by using alpha = 0 is still able to click and function just by tapping the particular location on the scene.
I have set for the buttons to appear only after certain conditions met by changing alpha to 1.
Now even though button not seen but tap on that position the button still functions..
what is wrong??

Comments

  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    Nothing is wrong. A button with 0 alpha should still function as if the alpha is 1.

    In your rule, put:

    When Touch is Pressed AND Attribute self.color.Alpha = 1

    Ace
  • GLGAMESGLGAMES SingaporeMember Posts: 988
    ah ok i understand what u mean now..
Sign In or Register to comment.