# Check location inside radius or capsule

**URL:** <https://forums.unrealengine.com/t/check-location-inside-radius-or-capsule/2063971>\
**Category:** Blueprint\
**Tags:** sphere, capsule, check, unreal-engine, world-location, question, Blueprint\
**Created:** [October 11, 2024, 7:47pm UTC](https://forums.unrealengine.com/t/check-location-inside-radius-or-capsule/2063971 "2024-10-11T19:47:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nizami\_Nz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nizami\_Nz](https://forums.unrealengine.com/u/Nizami_Nz)\
**Post date:** [October 11, 2024, 7:47pm UTC](https://forums.unrealengine.com/t/check-location-inside-radius-or-capsule/2063971/1 "2024-10-11T19:47:01Z")

</div>

In my game, I needed to check whether (Location) was inside (Capsule or Sphere).

I’m just posting the answer here because I couldn’t find any information on the Internet or on the forum.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/b/4/9b457218feb519b2025ca2182dbb83e0edec4a60.png)

Copy code here:

> **[Check location in radius or capsule posted by anonymous | blueprintUE |...](https://blueprintue.com/blueprint/ncoas1o_/)**
>
> No description provided

---

<div class="post-metadata">

**Author:** ![doctorpepperdan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@doctorpepperdan](https://forums.unrealengine.com/u/doctorpepperdan)\
**Post date:** [October 11, 2024, 8:04pm UTC](https://forums.unrealengine.com/t/check-location-inside-radius-or-capsule/2063971/2 "2024-10-11T20:04:35Z")

</div>

You may be able to use the “get extent” or “get bounds” nodes to provide some variables that will help with this
