# Child actor component - get parent blueprint object

**URL:** <https://forums.unrealengine.com/t/child-actor-component-get-parent-blueprint-object/308786>\
**Category:** Blueprint\
**Tags:** child-actor-componen, UE4-7, unreal-engine, editor, UE4, Blueprint, question\
**Created:** [March 2, 2015, 9:05pm UTC](https://forums.unrealengine.com/t/child-actor-component-get-parent-blueprint-object/308786 "2015-03-02T21:05:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f21a2bb7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f21a2bb7](https://forums.unrealengine.com/u/anonymous_user_f21a2bb7)\
**Post date:** [March 2, 2015, 9:05pm UTC](https://forums.unrealengine.com/t/child-actor-component-get-parent-blueprint-object/308786/1 "2015-03-02T21:05:40Z")

</div>

Hi there!

So I love the child actor component system in UE4 4.7, but there is a bit of wonkiness in it. It’s a little clunky for getting child actor components and accessing their variables through the parent’s event graph, but doable. One issue I’m having, however, is that I can’t really do the reverse very dependably.

For example, I have a battleship with a bunch of weakpoint blueprint objects attached as child actor components. Each weakpoint in itself takes 5 shots to destroy and then, once destroyed, takes a chunk out of the battleship’s health by firing its “Take damage” function. The thing is, only one of my weakpoints is doing this functionality the right way. Every single other weakpoint ignores the part about delivering damage to the battleship. The way it works is that, on event begin play, every weakpoint tries to get its specific parent battleship object by using the blueprint node “get overlapping actors.” Through some debugging work, I noticed that only one of my battleship’s weakpoints gets the reference to the parent battleship, and all others return null.

Is there a better way of getting that reference? Should I be reconsidering using child actor components?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fd57f212](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fd57f212](https://forums.unrealengine.com/u/anonymous_user_fd57f212)\
**Post date:** [September 4, 2015, 6:15pm UTC](https://forums.unrealengine.com/t/child-actor-component-get-parent-blueprint-object/308786/2 "2015-09-04T18:15:38Z")

</div>

Same question here.

---

<div class="post-metadata">

**Author:** ![Nsomnia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nsomnia](https://forums.unrealengine.com/u/Nsomnia)\
**Post date:** [September 4, 2015, 8:37pm UTC](https://forums.unrealengine.com/t/child-actor-component-get-parent-blueprint-object/308786/3 "2015-09-04T20:37:56Z")

</div>

Do you have a picture of your event begin play? Yes you could rethink using child actor components, they can be band-aid-y at times but why not just use one weakpoint, find the parent, then promote it to a var/create a reference to it and then use that for setting the other 4.

---

<div class="post-metadata">

**Author:** ![volkmedia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@volkmedia](https://forums.unrealengine.com/u/volkmedia)\
**Post date:** [November 20, 2015, 8:35am UTC](https://forums.unrealengine.com/t/child-actor-component-get-parent-blueprint-object/308786/4 "2015-11-20T08:35:44Z")

</div>

Set the owner ( if spawning ) otherwise it’ll return null and use **Get Owner** when you want to retrieve the actor reference.

 ![67436-screen+shot+2015-11-20+at+2.32.29+am.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/9/8/0987d4faab6547d13201224f4ae01c1a872fdf1d.png)

![67435-screen+shot+2015-11-20+at+2.36.15+am.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/2/b/b2bd4b19e751c9185d3a3fa2565027f504866a7a.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e660f14a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e660f14a](https://forums.unrealengine.com/u/anonymous_user_e660f14a)\
**Post date:** [November 23, 2015, 2:33pm UTC](https://forums.unrealengine.com/t/child-actor-component-get-parent-blueprint-object/308786/5 "2015-11-23T14:33:58Z")

</div>

You want to “Get Attach Parent” of the root component of the actor that will be the child. This will give you a component reference to the Child Actor Component in the parent actor (in this case the battleship). Then “Get Owner” from that, which will give you an actor reference to the parent (battleship). Then cast that to your battleship blueprint so you can call its functions or do whatever. It sounds complicated when I write it out, but it’s actually really simple.

 ![67769-screenshot_get+parent+ref+of+child+actor.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/1/4/b141d48a8d66c2a2973cb5e1f58adfa72f2d20c4.jpeg)

---

<div class="post-metadata">

**Author:** ![NurtNurt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NurtNurt](https://forums.unrealengine.com/u/NurtNurt)\
**Post date:** [May 4, 2016, 2:28pm UTC](https://forums.unrealengine.com/t/child-actor-component-get-parent-blueprint-object/308786/6 "2016-05-04T14:28:23Z")

</div>

This worked for me, thanks for sharing!

---

<div class="post-metadata">

**Author:** ![Amoryleaf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Amoryleaf](https://forums.unrealengine.com/u/Amoryleaf)\
**Post date:** [December 6, 2023, 2:05pm UTC](https://forums.unrealengine.com/t/child-actor-component-get-parent-blueprint-object/308786/7 "2023-12-06T14:05:39Z")

</div>

What worked for me was a 0.2 Delay and “Get Attach Parent Actor”
