# How do I get this to only trigger once, while keeping it overlapped?

**URL:** <https://forums.unrealengine.com/t/how-do-i-get-this-to-only-trigger-once-while-keeping-it-overlapped/2694380>\
**Category:** Blueprint\
**Tags:** begin-overlap, unreal-engine, question, Blueprint\
**Created:** [January 23, 2026, 3:53pm UTC](https://forums.unrealengine.com/t/how-do-i-get-this-to-only-trigger-once-while-keeping-it-overlapped/2694380 "2026-01-23T15:53:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NeoTritanic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NeoTritanic](https://forums.unrealengine.com/u/NeoTritanic)\
**Post date:** [January 23, 2026, 3:53pm UTC](https://forums.unrealengine.com/t/how-do-i-get-this-to-only-trigger-once-while-keeping-it-overlapped/2694380/1 "2026-01-23T15:53:15Z")

</div>

How do I get the event to trigger only once, while keeping the boxes overlapped?

To be clear, the boxes are not triggering each other, they just play the event twice when the player walks into the combined zones.

 ![Screenshot 2026-01-23 035121](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/7/1/9713d3ab16f06ebe1b469015ae056193e39e98b0.png)

---

<div class="post-metadata">

**Author:** ![pezzott1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pezzott1/32/1215068_2.png) [@pezzott1](https://forums.unrealengine.com/u/pezzott1)\
**Post date:** [January 23, 2026, 4:25pm UTC](https://forums.unrealengine.com/t/how-do-i-get-this-to-only-trigger-once-while-keeping-it-overlapped/2694380/2 "2026-01-23T16:25:08Z")

</div>

A quick idea to test:

- Add the boxes to a custom collision channel.
- Add a collision component to your pawn that only detects that specific collision channel.
  - OnComponentBeginOverlap (PawnSensor)
    - if `OtherActor is BoxClass`:
      - `Count = GetOverlappingActors(BoxClass).Length`
      - if `Count == 1 && !bDidSomething` → do, set `bDidSomething = true`

  - OnComponentEndOverlap (PawnSensor)
    - if `OtherActor is BoxClass`:
      - `Count = GetOverlappingActors(BoxClass).Length`
      - if `Count == 0` → `bDidSomething = false`

---

<div class="post-metadata">

**Author:** ![NeoTritanic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NeoTritanic](https://forums.unrealengine.com/u/NeoTritanic)\
**Post date:** [January 24, 2026, 12:25pm UTC](https://forums.unrealengine.com/t/how-do-i-get-this-to-only-trigger-once-while-keeping-it-overlapped/2694380/3 "2026-01-24T12:25:49Z")

</div>

Yep, that was it! Thank you so much for the help!

 ![Screenshot 2026-01-24 022413](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/4/8f4ed6709ecf3a130508d604d1c41f2f74df0a90.png)
