# Let some objects pass through an object and not let other objects

**URL:** <https://forums.unrealengine.com/t/let-some-objects-pass-through-an-object-and-not-let-other-objects/488747>\
**Category:** Asset Creation\
**Tags:** condition, unreal-engine, collision-responses, question\
**Created:** [September 13, 2021, 6:58pm UTC](https://forums.unrealengine.com/t/let-some-objects-pass-through-an-object-and-not-let-other-objects/488747 "2021-09-13T18:58:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmnesiacKoala](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AmnesiacKoala](https://forums.unrealengine.com/u/AmnesiacKoala)\
**Post date:** [September 13, 2021, 6:58pm UTC](https://forums.unrealengine.com/t/let-some-objects-pass-through-an-object-and-not-let-other-objects/488747/1 "2021-09-13T18:58:52Z")

</div>

Hello people, I hope you’re healthy and good.

I’m working on a 2D tower-defence game and I have a problem;  
There is a tower in my game and my character is trying to protect it. What I want to do is adding a condition to the tower. It should pass my player and also my soldiers. But It must hold the enemy and get the attacks.

 ![348538-image-2021-09-13-215457.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/0/6/c06147416be23d65c966201e07528976c2d01919.png)

I hope I explained myself right, thanks in advance.

---

<div class="post-metadata">

**Author:** ![Powill](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Powill](https://forums.unrealengine.com/u/Powill)\
**Post date:** [September 13, 2021, 11:05pm UTC](https://forums.unrealengine.com/t/let-some-objects-pass-through-an-object-and-not-let-other-objects/488747/2 "2021-09-13T23:05:48Z")

</div>

I recommend looking into Collision. Here are the [UE4 docs](https://docs.unrealengine.com/4.26/en-US/InteractiveExperiences/Physics/Collision/Overview/) that helped me get well-versed.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [September 14, 2021, 5:54am UTC](https://forums.unrealengine.com/t/let-some-objects-pass-through-an-object-and-not-let-other-objects/488747/3 "2021-09-14T05:54:18Z")

</div>

Also check this out:

> **[Collision Filtering in Unreal Engine 4](https://www.unrealengine.com/en-US/blog/collision-filtering?sessionInvalidated=true)**
>
> Choosing what collides is obviously very important, but it can be tricky, and it’s a problem that we have spent quite a while discussing while developing UE4. The system we have can seem a little complex at first, but it is very powerful and...

---

<div class="post-metadata">

**Author:** ![AmnesiacKoala](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AmnesiacKoala](https://forums.unrealengine.com/u/AmnesiacKoala)\
**Post date:** [September 14, 2021, 2:44pm UTC](https://forums.unrealengine.com/t/let-some-objects-pass-through-an-object-and-not-let-other-objects/488747/4 "2021-09-14T14:44:44Z")

</div>

Thanks for the quick and correct answers guys. It worked for me.
