# Clicking button through objects

**URL:** <https://forum.inductiveautomation.com/t/clicking-button-through-objects/5637>\
**Category:** Ignition\
**Created:** [January 3, 2013, 2:59pm UTC](https://forum.inductiveautomation.com/t/clicking-button-through-objects/5637 "2013-01-03T14:59:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![quper](https://avatars.discourse-cdn.com/v4/letter/q/aeb1de/32.png) [@quper](https://forum.inductiveautomation.com/u/quper)\
**Post date:** [January 3, 2013, 2:59pm UTC](https://forum.inductiveautomation.com/t/clicking-button-through-objects/5637/1 "2013-01-03T14:59:13Z")

</div>

Hello,  
I have a button underneath a panel with image and mouseover event of that button activates when I place mouse pointer on the panel at button location. Also if I click on panel at exact same button location, button clicks and event fires. How can I make this panel to be not “event transparent” for the objects behind that panel?

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [January 3, 2013, 4:28pm UTC](https://forum.inductiveautomation.com/t/clicking-button-through-objects/5637/2 "2013-01-03T16:28:27Z")

</div>

Just put a script on the mousePressed of the panel that does nothing like this:`pass`It will take the mouse event and will not pass it through to the button.

---

<div class="post-metadata">

**Author:** ![quper](https://avatars.discourse-cdn.com/v4/letter/q/aeb1de/32.png) [@quper](https://forum.inductiveautomation.com/u/quper)\
**Post date:** [January 4, 2013, 1:59pm UTC](https://forum.inductiveautomation.com/t/clicking-button-through-objects/5637/3 "2013-01-04T13:59:55Z")

</div>

Thank you!
