# Pick performance for large number of objects

**URL:** <https://community.cesium.com/t/pick-performance-for-large-number-of-objects/5289>\
**Category:** CesiumJS\
**Created:** [March 15, 2017, 2:19pm UTC](https://community.cesium.com/t/pick-performance-for-large-number-of-objects/5289 "2017-03-15T14:19:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TonyD](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/tonyd/32/2135_2.png) [@TonyD](https://community.cesium.com/u/TonyD)\
**Post date:** [March 15, 2017, 2:19pm UTC](https://community.cesium.com/t/pick-performance-for-large-number-of-objects/5289/1 "2017-03-15T14:19:42Z")

</div>

I'm using Cesium 1.30 on Linux. I have an object composed of 1000's of polygons. When I do a 'drillPick' the screen locks up for a couple of seconds. Is there any way to keep this from happening. I've tried creating the object as a single primitive with 'allowPicking' set to false, but the problem still exists. I tried delving into the source code and would have thought setting 'allowPicking' to false would have fixed the problem.

Thanks,  
&nbsp;&nbsp;Tony

---

<div class="post-metadata">

**Author:** ![Ricardo\_Morin](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ricardo_morin/32/32328_2.png) [@Ricardo\_Morin](https://community.cesium.com/u/Ricardo_Morin)\
**Post date:** [March 15, 2017, 10:49pm UTC](https://community.cesium.com/t/pick-performance-for-large-number-of-objects/5289/2 "2017-03-15T22:49:25Z")

</div>

Did you try setting a drillPick limit? Like drillPick(position, 1). I had a similar problem which was pretty bad on mobile devices, so I set a limit of 1 for those devices and it works pretty reasonably for my application.

Thanks,

Ricardo

---

<div class="post-metadata">

**Author:** ![TonyD](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/tonyd/32/2135_2.png) [@TonyD](https://community.cesium.com/u/TonyD)\
**Post date:** [March 16, 2017, 1:24pm UTC](https://community.cesium.com/t/pick-performance-for-large-number-of-objects/5289/3 "2017-03-16T13:24:23Z")

</div>

Unfortunately I still need to be able to pick multiple objects via drillPick so limiting it is not an option.
