# \`vtkSelection\` with multiple displayed meshes

**URL:** https://discourse.vtk.org/t/vtkselection-with-multiple-displayed-meshes/14667
**Category:** Support
**Created:** [October 5, 2024, 4:07pm UTC](https://discourse.vtk.org/t/vtkselection-with-multiple-displayed-meshes/14667 "2024-10-05T16:07:57Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kerim](https://discourse.vtk.org/user_avatar/discourse.vtk.org/kerim/32/1175_2.png) [@kerim](https://discourse.vtk.org/u/kerim)
#### Post date: [October 5, 2024, 4:07pm UTC](https://discourse.vtk.org/t/vtkselection-with-multiple-displayed-meshes/14667/1 "2024-10-05T16:07:57Z")

</div>

Hi,

I’m trying to get indices of selected points.  
The problem is that when there are multiple displayed meshes then the selection may contain several `vtkSelectionNode` objects.

But I cant understand which `selectionNode` corresponds to which mesh.  
I actually need to make the selection only for only one mesh.

---

<div class="post-metadata">

### Author: ![kerim](https://discourse.vtk.org/user_avatar/discourse.vtk.org/kerim/32/1175_2.png) [@kerim](https://discourse.vtk.org/u/kerim)
#### Post date: [October 5, 2024, 7:08pm UTC](https://discourse.vtk.org/t/vtkselection-with-multiple-displayed-meshes/14667/2 "2024-10-05T19:08:58Z")

</div>

Maybe I can set some property to some actors to disable being selected?
