# Embedded View behind button preventing click

**URL:** <https://forum.inductiveautomation.com/t/embedded-view-behind-button-preventing-click/28071>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 6, 2019, 7:43am UTC](https://forum.inductiveautomation.com/t/embedded-view-behind-button-preventing-click/28071 "2019-09-06T07:43:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [September 6, 2019, 7:43am UTC](https://forum.inductiveautomation.com/t/embedded-view-behind-button-preventing-click/28071/1 "2019-09-06T07:43:59Z")

</div>

Hi,

I have a button and an embedded coordinate view both inside a coordinate view as part of a symbol in Perspective. The embedded view is a reusable alarm border and is sent to the back. See screenshot:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/75a0eedbaa5c355acab1a345d497347af619398e.png)

The problem is even though the embedded view is behind the button, I can no longer click on the button. If I move the embedded view to the side, everything works.

Is this a bug?

Regards,  
Deon

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [September 6, 2019, 2:35pm UTC](https://forum.inductiveautomation.com/t/embedded-view-behind-button-preventing-click/28071/2 "2019-09-06T14:35:11Z")

</div>

I believe you’re incorrect in claiming that the Embedded View has been sent to the “back”. Due to the design of a View, the way to interpret z-indexing of a Container’s children is the “last” (or bottom) child is on the relative “top” of anything before it.

Try selecting your Button node, and clicking the toolbar icons which modify the z-index:

 ![19%20AM](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/c0afa762510ce7ec9fecf8964fe46025773c76b7.png)

---

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [September 10, 2019, 8:03am UTC](https://forum.inductiveautomation.com/t/embedded-view-behind-button-preventing-click/28071/3 "2019-09-10T08:03:38Z")

</div>

That fixed it. I mistakenly assumed the order.

Thanks.
