# Help about picked mesh

**URL:** <https://forum.babylonjs.com/t/help-about-picked-mesh/54452>\
**Category:** Questions\
**Created:** [October 30, 2024, 2:25pm UTC](https://forum.babylonjs.com/t/help-about-picked-mesh/54452 "2024-10-30T14:25:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josst](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/josst/32/42579_2.png) [@Josst](https://forum.babylonjs.com/u/Josst)\
**Post date:** [October 30, 2024, 2:25pm UTC](https://forum.babylonjs.com/t/help-about-picked-mesh/54452/1 "2024-10-30T14:25:39Z")

</div>

hello si i try to make that when i click somewhere on the mesh the postion of the click go in my var but i doesn’t word

i need help pls TwT

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

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [October 30, 2024, 2:44pm UTC](https://forum.babylonjs.com/t/help-about-picked-mesh/54452/2 "2024-10-30T14:44:12Z")

</div>

There you go! 🙂

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

our pointer observable(s) provide the picking info for you, already calculated with the right predicate.

---

<div class="post-metadata">

**Author:** ![Josst](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/josst/32/42579_2.png) [@Josst](https://forum.babylonjs.com/u/Josst)\
**Post date:** [October 30, 2024, 2:58pm UTC](https://forum.babylonjs.com/t/help-about-picked-mesh/54452/3 "2024-10-30T14:58:02Z")

</div>

oh okay now in need to understand how to pick the exact spot where i click on the mesh and not just the mesh because i want to draw a line beetween two mesh , i don’t know if it’s clear ? my english is so bad

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [October 30, 2024, 2:59pm UTC](https://forum.babylonjs.com/t/help-about-picked-mesh/54452/4 "2024-10-30T14:59:14Z")

</div>

Most of us are not native english speakers! don’t worry about your english 🙂

The pick result returns a pickedPoint as well:

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

---

<div class="post-metadata">

**Author:** ![Josst](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/josst/32/42579_2.png) [@Josst](https://forum.babylonjs.com/u/Josst)\
**Post date:** [October 30, 2024, 3:18pm UTC](https://forum.babylonjs.com/t/help-about-picked-mesh/54452/5 "2024-10-30T15:18:45Z")

</div>

thanks do u know the documentation for helping me doing what i need ? Creating 2 gui  
1 for the first take position with left click  
2 for the second take position with right click  
And maybe how to draw a line beetween them ?

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [October 30, 2024, 3:21pm UTC](https://forum.babylonjs.com/t/help-about-picked-mesh/54452/6 "2024-10-30T15:21:41Z")

</div>

Right click is the same as standard picking, you just need to find out which button index is used.

About GUI, This is the best docs for our GUI system - [Babylon.js docs](https://doc.babylonjs.com/features/featuresDeepDive/gui/gui)
