# What's more resource efficient

**URL:** <https://forums.unrealengine.com/t/whats-more-resource-efficient/450738>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4, question\
**Created:** [June 15, 2019, 5:18pm UTC](https://forums.unrealengine.com/t/whats-more-resource-efficient/450738 "2019-06-15T17:18:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PasteteDoeniel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PasteteDoeniel](https://forums.unrealengine.com/u/PasteteDoeniel)\
**Post date:** [June 15, 2019, 5:18pm UTC](https://forums.unrealengine.com/t/whats-more-resource-efficient/450738/1 "2019-06-15T17:18:40Z")

</div>

I’m trying to find the most resource efficient way to check what’s in range. Is it better to use On Overlap or should I check the distances to each object (of that particular type) in the scene. I don’t know how many of these object will be in the scene. There will most likely be a couple hundred of them.

---

<div class="post-metadata">

**Author:** ![KristofMorva](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kristofmorva/32/1194508_2.png) [@KristofMorva](https://forums.unrealengine.com/u/KristofMorva)\
**Post date:** [June 15, 2019, 7:09pm UTC](https://forums.unrealengine.com/t/whats-more-resource-efficient/450738/2 "2019-06-15T19:09:09Z")

</div>

Distance check is much more efficient than Overlap.

Also, make sure to do such things in C++ if you can, not in Blueprints.
