# Clickable meshes with GUI and layermasks

**URL:** <https://forum.babylonjs.com/t/clickable-meshes-with-gui-and-layermasks/39193>\
**Category:** Questions\
**Tags:** gui\
**Created:** [March 20, 2023, 12:39pm UTC](https://forum.babylonjs.com/t/clickable-meshes-with-gui-and-layermasks/39193 "2023-03-20T12:39:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scubbs](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@Scubbs](https://forum.babylonjs.com/u/Scubbs)\
**Post date:** [March 20, 2023, 12:39pm UTC](https://forum.babylonjs.com/t/clickable-meshes-with-gui-and-layermasks/39193/1 "2023-03-20T12:39:48Z")

</div>

Hi,

Still getting my head around Babylon and JS, so I apologise in advance if this is a daft mistake.

I’m having a few issues with getting the GUI, layermasks and interactions all working together.

I’ve built out a model of data centre with a 3D and 2D Gui. Before I set up layermasks, I could click on the coloured cables to launch the GUI. I added the GUI to layermasks to render after post processes, but now I can’t click on meshes any more?

Any help would be massively appreciated!

[https://hosted2.proctors.co.uk/motiondept/clickable/](https://hosted2.proctors.co.uk/motiondept/clickable/)

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [March 20, 2023, 3:23pm UTC](https://forum.babylonjs.com/t/clickable-meshes-with-gui-and-layermasks/39193/2 "2023-03-20T15:23:33Z")

</div>

Hello and welcome to the Babylon community! Your project is looking very cool already 😃

You actually don’t need layer masks to have the GUI not be affected by the post processes, there’s an attribute on the Layer class (`layer.applyPostProcess`) that can enable it to not be affected: [PGDemo | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#N96NXC#125)

---

<div class="post-metadata">

**Author:** ![Scubbs](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@Scubbs](https://forum.babylonjs.com/u/Scubbs)\
**Post date:** [March 20, 2023, 3:32pm UTC](https://forum.babylonjs.com/t/clickable-meshes-with-gui-and-layermasks/39193/3 "2023-03-20T15:32:42Z")

</div>

Thank you so much for your help, massively appreciated! I’ve been banging me head against a wall for the past couple of days!
