# Get attached actors always returns only one

**URL:** <https://forums.unrealengine.com/t/get-attached-actors-always-returns-only-one/355175>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [April 23, 2016, 12:12pm UTC](https://forums.unrealengine.com/t/get-attached-actors-always-returns-only-one/355175 "2016-04-23T12:12:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davision](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davision](https://forums.unrealengine.com/u/Davision)\
**Post date:** [April 23, 2016, 12:12pm UTC](https://forums.unrealengine.com/t/get-attached-actors-always-returns-only-one/355175/1 "2016-04-23T12:12:18Z")

</div>

Get attached actors is currently bugged, the array contains always only 1 item even though there are clearly more actors attached. As a workaround I tried to use get all components, then for each loop and on that get child actor but it doesn’t even allow me to use the get child actor node there. Is there any working way to get all attached actors in blueprint?

Edit: Turns out I just need a tickbox like the get children components has: Include All Descendants. My current workaround is to do get attached actors and then get attached actors of all get attached actors which is then a for each loop inside a for each loop which is probably a bad way of doing it.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [April 25, 2016, 6:12pm UTC](https://forums.unrealengine.com/t/get-attached-actors-always-returns-only-one/355175/2 "2016-04-25T18:12:31Z")

</div>

Hello Davision,

Could you explain in a bit more detail what it is that you are looking for, so that I can enter a feature request? Some screenshots of your setup would be helpful, if possible.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [May 2, 2016, 12:37pm UTC](https://forums.unrealengine.com/t/get-attached-actors-always-returns-only-one/355175/3 "2016-05-02T12:37:55Z")

</div>

Hello,

I am marking this topic as resolved for tracking purposes, as we have not heard from you in a few days. If this issue persists, feel free to respond to this thread. For any new issues, please create a new Answerhub topic.

Have a great day

---

<div class="post-metadata">

**Author:** ![Ivan3z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Post date:** [December 5, 2022, 3:44am UTC](https://forums.unrealengine.com/t/get-attached-actors-always-returns-only-one/355175/4 "2022-12-05T03:44:36Z")

</div>

this work:

> [@Destroy Component not working](https://forums.unrealengine.com/t/destroy-component-not-working/317594/37):
>
> Hey I was suffering with same problem you were having, I was trying to delete static actor attached with an anim notify and this is way to solve it. Just for future in case pic get’s erased Received notify(MeshComponent)-\>GetOwner-\>AttachedActors-\>ForEachLoop(ArrayElement)-\>DestroyActor.

---

<div class="post-metadata">

**Author:** ![cmccormick](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cmccormick](https://forums.unrealengine.com/u/cmccormick)\
**Post date:** [February 13, 2024, 7:48pm UTC](https://forums.unrealengine.com/t/get-attached-actors-always-returns-only-one/355175/5 "2024-02-13T19:48:37Z")

</div>

Just replying to say thank you for sharing this solution. This problem was driving me crazy and I tried everything I could think of! Adding the “Get Owner” node solved it for me right away

---

<div class="post-metadata">

**Author:** ![Ivan3z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Post date:** [February 14, 2024, 1:37am UTC](https://forums.unrealengine.com/t/get-attached-actors-always-returns-only-one/355175/6 "2024-02-14T01:37:10Z")

</div>

it’s a pleasure to help
