# How to area pick actors?

**URL:** https://discourse.vtk.org/t/how-to-area-pick-actors/9961
**Category:** Support
**Tags:** code, proposal
**Created:** [November 26, 2022, 1:46am UTC](https://discourse.vtk.org/t/how-to-area-pick-actors/9961 "2022-11-26T01:46:48Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rockydut](https://discourse.vtk.org/user_avatar/discourse.vtk.org/rockydut/32/4261_2.png) [@rockydut](https://discourse.vtk.org/u/rockydut)
#### Post date: [November 26, 2022, 1:46am UTC](https://discourse.vtk.org/t/how-to-area-pick-actors/9961/1 "2022-11-26T01:46:49Z")

</div>

There are many actors, and I want to area pick some actors.  
The area defined by mouse can be get from:  
vtkPlanes\* frustum = static\_cast\<vtkAreaPicker\*\>(GetInteractor()-\>GetPicker())-\>GetFrustum();

The problem is how to judge the actor(s) is in the area defined by “frustum” or not.

---

<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: [December 4, 2022, 2:43pm UTC](https://discourse.vtk.org/t/how-to-area-pick-actors/9961/2 "2022-12-04T14:43:56Z")

</div>

Hello,

Please, take a look at this example: [https://kitware.github.io/vtk-examples/site/Cxx/Picking/AreaPicking/](https://kitware.github.io/vtk-examples/site/Cxx/Picking/AreaPicking/) .

cheers,

Paulo
