# During picking ignore backfaces and pick through them

**URL:** <https://forum.babylonjs.com/t/during-picking-ignore-backfaces-and-pick-through-them/1259>\
**Category:** Questions\
**Created:** [February 8, 2019, 3:21pm UTC](https://forum.babylonjs.com/t/during-picking-ignore-backfaces-and-pick-through-them/1259 "2019-02-08T15:21:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![BrianW](https://avatars.discourse-cdn.com/v4/letter/b/b2d939/32.png) [@BrianW](https://forum.babylonjs.com/u/BrianW)\
**Post date:** [February 8, 2019, 3:21pm UTC](https://forum.babylonjs.com/t/during-picking-ignore-backfaces-and-pick-through-them/1259/1 "2019-02-08T15:21:20Z")

</div>

Is there a better way to pick meshes while ignoring backfaces? I.e if I pick a backface ignore it and select through it to get the actual mesh I was trying to select. We have a ceiling that we want to be only visible from below and only selectable from below.

This thread has a workaround : [Dragndrop on a back side orientation mesh - Questions & Answers - HTML5 Game Devs Forum](http://www.html5gamedevs.com/topic/26752-dragndrop-on-a-back-side-orientation-mesh/)  
But we were wondering if there was a better way.

Thanks!

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [February 8, 2019, 3:29pm UTC](https://forum.babylonjs.com/t/during-picking-ignore-backfaces-and-pick-through-them/1259/2 "2019-02-08T15:29:07Z")

</div>

We do not have the distinction between front and back faces for now (so the workaround is fine)

Just wondering if we should add it to the framework directly

---

<div class="post-metadata">

**Author:** ![BrianW](https://avatars.discourse-cdn.com/v4/letter/b/b2d939/32.png) [@BrianW](https://forum.babylonjs.com/u/BrianW)\
**Post date:** [February 8, 2019, 3:42pm UTC](https://forum.babylonjs.com/t/during-picking-ignore-backfaces-and-pick-through-them/1259/3 "2019-02-08T15:42:51Z")

</div>

That would make my co-worker happy!

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [February 8, 2019, 3:43pm UTC](https://forum.babylonjs.com/t/during-picking-ignore-backfaces-and-pick-through-them/1259/4 "2019-02-08T15:43:42Z")

</div>

Feel free to create an issue for me on the repo. I’ll add it next week 🙂

---

<div class="post-metadata">

**Author:** ![BrianW](https://avatars.discourse-cdn.com/v4/letter/b/b2d939/32.png) [@BrianW](https://forum.babylonjs.com/u/BrianW)\
**Post date:** [February 8, 2019, 3:44pm UTC](https://forum.babylonjs.com/t/during-picking-ignore-backfaces-and-pick-through-them/1259/5 "2019-02-08T15:44:07Z")

</div>

Will do thanks!

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [February 11, 2019, 7:06pm UTC](https://forum.babylonjs.com/t/during-picking-ignore-backfaces-and-pick-through-them/1259/6 "2019-02-11T19:06:37Z")

</div>

Done!  
[https://doc.babylonjs.com/babylon101/raycasts#triangle-predicate](https://doc.babylonjs.com/babylon101/raycasts#triangle-predicate)

---

<div class="post-metadata">

**Author:** ![BrianW](https://avatars.discourse-cdn.com/v4/letter/b/b2d939/32.png) [@BrianW](https://forum.babylonjs.com/u/BrianW)\
**Post date:** [February 12, 2019, 1:48pm UTC](https://forum.babylonjs.com/t/during-picking-ignore-backfaces-and-pick-through-them/1259/7 "2019-02-12T13:48:19Z")

</div>

Thank you sir!
