Button - Bang on up && Bang on down


    Oct 27 2010 | 9:17 pm
    Does anyone have a clever way to make a textbutton report a bang on button up AND on button down?

    • Oct 27 2010 | 9:35 pm
      not sure how clever it is, but this does the trick.
    • Oct 27 2010 | 9:47 pm
      i like MIB's better of course...
    • Oct 27 2010 | 9:53 pm
      Thanks guys. Ending up using this as I need separate events for up and down. I was fooling around with various ways of doing this using mousestate but I couldn't get the timing right. Using gate sorts that out.
    • Oct 27 2010 | 10:45 pm
      of course you could always fake it with ubutton as well...
    • Oct 27 2010 | 11:19 pm
      another way to do it with ubutton and textbutton in toggle mode:
    • Oct 27 2010 | 11:38 pm
      Would be nice perhaps if textbutton just had the same outlets that ubutton does to avoid this annoyance...
    • Oct 27 2010 | 11:56 pm
      Requested noted, but ubutton doesn't do everything that textbutton does either, they are just different objects. Welcome to the world of UI design. One person's annoyance is another person's fantasy and vice versa.
      -Ben