# When character’s location enters box trigger, run program

**URL:** <https://forums.unrealengine.com/t/when-character-s-location-enters-box-trigger-run-program/508779>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4-26, Blueprint, question\
**Created:** [March 22, 2022, 5:35am UTC](https://forums.unrealengine.com/t/when-character-s-location-enters-box-trigger-run-program/508779 "2022-03-22T05:35:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![O\_DEKOPON](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@O\_DEKOPON](https://forums.unrealengine.com/u/O_DEKOPON)\
**Post date:** [March 22, 2022, 5:35am UTC](https://forums.unrealengine.com/t/when-character-s-location-enters-box-trigger-run-program/508779/1 "2022-03-22T05:35:07Z")

</div>

When character’s location enters box trigger, run program.

( I’m an English learner, so If my explain isn’t enough, please let me know on comment. )

Current situation, box trigger’s begin overlap event connect casting character. In this case the details are described below image. I feel the character’s collision is troublesome in my game.

 ![ue4_answerhub_01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/b/e0be4c6b4e15c8d0c5b3fe4c8a241099b57f15cf.jpeg)

I want to do is when character’s location enters box trigger, run program. The details are described below image.

 ![ue4_answerhub_02](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/e/4/0e439b59bd1e7b43846b92bd0e9ef0bbbaff6c96.jpeg)

That’s all, thank you.

---

<div class="post-metadata">

**Author:** ![Yaklakootmaa2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/yaklakootmaa2/32/1194607_2.png) [@Yaklakootmaa2](https://forums.unrealengine.com/u/Yaklakootmaa2)\
**Post date:** [March 22, 2022, 7:24am UTC](https://forums.unrealengine.com/t/when-character-s-location-enters-box-trigger-run-program/508779/2 "2022-03-22T07:24:21Z")

</div>

This was discussed recently in a thread [Overlapping not registered when actor is spawned - #10 by Lorenze](https://forums.unrealengine.com/t/overlapping-not-registered-when-actor-is-spawned/508189/10)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [March 22, 2022, 8:44am UTC](https://forums.unrealengine.com/t/when-character-s-location-enters-box-trigger-run-program/508779/3 "2022-03-22T08:44:10Z")

</div>

You can’t use collision for this, you need to check on a timer:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/8/24863a1401691974e7bf8f54e4bdeb38ce7f7e02.png)

---

<div class="post-metadata">

**Author:** ![O\_DEKOPON](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@O\_DEKOPON](https://forums.unrealengine.com/u/O_DEKOPON)\
**Post date:** [April 2, 2022, 12:29am UTC](https://forums.unrealengine.com/t/when-character-s-location-enters-box-trigger-run-program/508779/4 "2022-04-02T00:29:27Z")

</div>

Thank you for your comment.

I have an additional question. When box trigger roll, box trigger’s range isn’t change. It will be in the range before rotation. What should be done if this is the solution?

 ![ue4_answerhub_03](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/4/1/741abb59ddf3ec7e65f9c14f9606c6213abfcf44.jpeg)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 2, 2022, 8:05am UTC](https://forums.unrealengine.com/t/when-character-s-location-enters-box-trigger-run-program/508779/5 "2022-04-02T08:05:25Z")

</div>

The player collision can only overlap the box.

If you’re worried about inconsistencies because of the box shape, then you can use a sphere or capsule as the collision on the object.
