Author Topic: How do you cancel a mouse down if user moves mouse off button before releasing?  (Read 2031 times)

Disastercake

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 87
  • www.disastercake.com
    • View Profile
    • Disastercake
In most normal GUIs, if you click down on a button and then move your cursor off it the button before releasing, it will act as if you never pressed the button.  How can I achieve this functionality with NGUI?  Is this supported out of the box or do I have to do a lot of custom scripting just to make this happen?

Edit:
OnClick seems to be doing this now.  Weird since it wasn't earlier. =/
« Last Edit: July 06, 2012, 08:25:35 PM by Disastercake »
Creator of Soul Saga.
http://www.disastercake.com