# How to make occluded part of meshes not pickable

**URL:** <https://forum.babylonjs.com/t/how-to-make-occluded-part-of-meshes-not-pickable/28974>\
**Category:** Questions\
**Created:** [April 1, 2022, 3:44pm UTC](https://forum.babylonjs.com/t/how-to-make-occluded-part-of-meshes-not-pickable/28974 "2022-04-01T15:44:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yamamoo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/yamamoo/32/21359_2.png) [@Yamamoo](https://forum.babylonjs.com/u/Yamamoo)\
**Post date:** [April 1, 2022, 3:44pm UTC](https://forum.babylonjs.com/t/how-to-make-occluded-part-of-meshes-not-pickable/28974/1 "2022-04-01T15:44:25Z")

</div>

Hello, I’ve created playground for my issue: [https://playground.babylonjs.com/#T2DGCK#1](https://playground.babylonjs.com/#T2DGCK#1)

What I’m trying to achieve is to make parts of boxes that are occluded not pickable and occluder should not be pickable either. So basically in `scene.onPointerObservable.add()` callback function `pointerInfo.pickInfo.pickedMesh` should be undefined when I hover over occluded parts.

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [April 1, 2022, 3:53pm UTC](https://forum.babylonjs.com/t/how-to-make-occluded-part-of-meshes-not-pickable/28974/2 "2022-04-01T15:53:16Z")

</div>

You would need to keep the occluder pickable and exclude them manually either through the scene.pointerMovePredicate or in your onPointerObservable.
