I've got a button on a background, but

IntelligentDesignerIntelligentDesigner Member Posts: 517
edited November -1 in Working with GS (Mac)
even though the rule for the button causes some "stuff" to happen, the same "stuff" happens if the background (not over the button) is clicked... How do you confine the "click-ability" to the button?

Comments

  • HunnenkoenigHunnenkoenig Member Posts: 1,173
    Use the rule touch "inside" on the button with the touch "pressed" together
  • IntelligentDesignerIntelligentDesigner Member Posts: 517
    I was using
    Actor Receives event - mouse button- is - down.
    When I added
    Actor Receives event - touch - inside

    That fixed it, Thanks Mr. T and Hunn...
  • JGary321JGary321 Member Posts: 1,246
    Don't use mouse button is down. Always use Touch is Pressed.

    That way if you ever want to incorporate multi-touch you don't have to go back & redo every rule you ever made.

    Also if using Touch is Pressed, you don't have to do Touch is Inside.
  • IntelligentDesignerIntelligentDesigner Member Posts: 517
    Thanks! That's good to know, since I have a feeling that the less interactively parsed rules, the better the performance.

    Cheers!
Sign In or Register to comment.