# How to set tolerance for vtkPropPicker

**URL:** https://discourse.vtk.org/t/how-to-set-tolerance-for-vtkproppicker/7398
**Category:** Support
**Created:** [December 14, 2021, 8:38am UTC](https://discourse.vtk.org/t/how-to-set-tolerance-for-vtkproppicker/7398 "2021-12-14T08:38:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![zhang-qiang-github](https://discourse.vtk.org/user_avatar/discourse.vtk.org/zhang-qiang-github/32/2519_2.png) [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)
#### Post date: [December 14, 2021, 8:38am UTC](https://discourse.vtk.org/t/how-to-set-tolerance-for-vtkproppicker/7398/1 "2021-12-14T08:38:47Z")

</div>

I want to pick actor in VTK.

Firstly, I use `vtkCellPicker`, but it do not work as expected. [vtkCellPicker can not pick vtk.vtkActor - Support - VTK](https://discourse.vtk.org/t/vtkcellpicker-can-not-pick-vtk-vtkactor/7114) And I still don’t know why.

Then, I try `vtkPropPicker`, and it works fine. However, I need to be very careful to pick a line. And I can not find the `SetTolerance` method as in `vtkCellPicker`. How can I set tolerance for `vtkPropPicker`? Or is there any other picker which can pick actor/prop correctly and has the the `SetTolerance` method.

Any suggestion is appreciated!
