Author Topic: How to disable the key & mouse response in a panel?  (Read 2760 times)

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
How to disable the key & mouse response in a panel?
« on: September 25, 2012, 11:38:26 AM »
I want to create a panel like windows dialog, how to disable the  key & mouse response in other panels except the top panel.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to disable the key & mouse response in a panel?
« Reply #1 on: September 25, 2012, 11:56:37 AM »
Put a big collider covering the screen in between of the panel that you want to receive events, and panels that you don't want to receive events.