# Child actor component にセットしたアクターへのcast方法

**URL:** <https://forums.unrealengine.com/t/child-actor-component-cast/438503>\
**Category:** Blueprint\
**Tags:** child-actor-componen, add-component, unreal-engine, cast, Blueprint, question\
**Created:** [November 29, 2018, 2:03am UTC](https://forums.unrealengine.com/t/child-actor-component-cast/438503 "2018-11-29T02:03:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![porckchop](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/porckchop/32/1085168_2.png) [@porckchop](https://forums.unrealengine.com/u/porckchop)\
**Post date:** [December 1, 2018, 12:25am UTC](https://forums.unrealengine.com/t/child-actor-component-cast/438503/2 "2018-12-01T00:25:16Z")

</div>

I think what your looking to do is this :

 ![261009-childactorcast2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/5/f/25fdf87c272e1ef999095c2840c8fddbbb5b5223.jpeg)

You grab a reference of the child actor \> Get child Actor \> Then cast to the child actor, as shown above. As you can see i was able to get that “NUM” int you were talking about and also Call it’s function to set the int. You could also use “Interface’s” Well I hope this helps. 🙂

Here’s what i said above:

子アクターの参照を取得します\>子アクターを取得\>次に、上記のように子アクターにキャストします。ご覧のとおり、私はあなたが話していた “NUM” intを取得することができましたし、intを設定する関数を呼び出すこともできます。あなたはまた "Interface"を使うこともできます。

I hope what i said is well translated, as i dont speak Japanese, so if it said something inappropriate blame google 🙂 がんばろう

---

_[View the full topic](https://forums.unrealengine.com/t/child-actor-component-cast/438503)._
