# Can I pick the point on pointcloud just like picture?

**URL:** https://discourse.vtk.org/t/can-i-pick-the-point-on-pointcloud-just-like-picture/5172
**Category:** Support
**Created:** [February 11, 2021, 6:28am UTC](https://discourse.vtk.org/t/can-i-pick-the-point-on-pointcloud-just-like-picture/5172 "2021-02-11T06:28:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![timeanddoctor](https://discourse.vtk.org/user_avatar/discourse.vtk.org/timeanddoctor/32/2847_2.png) [@timeanddoctor](https://discourse.vtk.org/u/timeanddoctor)
#### Post date: [February 11, 2021, 6:28am UTC](https://discourse.vtk.org/t/can-i-pick-the-point-on-pointcloud-just-like-picture/5172/1 "2021-02-11T06:28:02Z")

</div>

![image](https://discourse.vtk.org/uploads/default/original/2X/c/c219da1028de86d459d48163c870da26a73b48ca.png)

def pick(obj,event):

```
        clickPos = obj.GetEventPosition()
        #print (clickPos)
        picker.Pick(clickPos[0], clickPos[1], 0, ren)
        p=picker.GetPickPosition()
        print ('position：',p)
```

---

<div class="post-metadata">

### Author: ![Paulo\_Carvalho](https://discourse.vtk.org/user_avatar/discourse.vtk.org/paulo_carvalho/32/370_2.png) [@Paulo\_Carvalho](https://discourse.vtk.org/u/Paulo_Carvalho)
#### Post date: [February 14, 2021, 9:33pm UTC](https://discourse.vtk.org/t/can-i-pick-the-point-on-pointcloud-just-like-picture/5172/2 "2021-02-14T21:33:24Z")

</div>

Hello, friend.

What class is `picker` instance of? Make sure you’re using `vtkPointPicker`: [https://vtk.org/doc/nightly/html/classvtkPointPicker.html](https://vtk.org/doc/nightly/html/classvtkPointPicker.html) .

all the best,

Paulo

---

<div class="post-metadata">

### Author: ![timeanddoctor](https://discourse.vtk.org/user_avatar/discourse.vtk.org/timeanddoctor/32/2847_2.png) [@timeanddoctor](https://discourse.vtk.org/u/timeanddoctor)
#### Post date: [February 15, 2021, 12:57am UTC](https://discourse.vtk.org/t/can-i-pick-the-point-on-pointcloud-just-like-picture/5172/3 "2021-02-15T00:57:18Z")

</div>

Thanks.  
I get the correct point position by changing the picker from the cellpicker to pointpick after reading your recommend api.  
Thank you very much!  
Li zhenzhu
