# Pick mesh (get pick information)

**URL:** <https://forum.babylonjs.com/t/pick-mesh-get-pick-information/36524>\
**Category:** Questions\
**Tags:** picking\
**Created:** [December 13, 2022, 12:07pm UTC](https://forum.babylonjs.com/t/pick-mesh-get-pick-information/36524 "2022-12-13T12:07:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ecojust](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/ecojust/32/12884_2.png) [@ecojust](https://forum.babylonjs.com/u/ecojust)\
**Post date:** [December 13, 2022, 12:07pm UTC](https://forum.babylonjs.com/t/pick-mesh-get-pick-information/36524/1 "2022-12-13T12:07:43Z")

</div>

> **[Babylon.js Playground](https://playground.babylonjs.com/#TYUJ4E)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

I usually pick up models in these two ways，  
One is by binding an actionManager to the mesh，  
The other is to add a click event to the scene.

When the scene has a lot of mesh，  
The latter seems to have a higher performance cost.

I want to get the mesh and triangle of the current click, and I want to get the best performance

---

<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:** [December 13, 2022, 12:19pm UTC](https://forum.babylonjs.com/t/pick-mesh-get-pick-information/36524/2 "2022-12-13T12:19:25Z")

</div>

If you have a lot of meshes integrating octrees will be a good approach, see [Optimizing With Octrees | Babylon.js Documentation (babylonjs.com)](https://doc.babylonjs.com/features/featuresDeepDive/scene/optimizeOctrees)
