# How to locate any components of the actor-blueprint and get access to their properties?

**URL:** <https://forums.unrealengine.com/t/how-to-locate-any-components-of-the-actor-blueprint-and-get-access-to-their-properties/777475>\
**Category:** Editor Scripting\
**Tags:** automationtool, Python, unreal-engine, question, Blueprint\
**Created:** [February 24, 2023, 2:29am UTC](https://forums.unrealengine.com/t/how-to-locate-any-components-of-the-actor-blueprint-and-get-access-to-their-properties/777475 "2023-02-24T02:29:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![XxNotAGamerxX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XxNotAGamerxX](https://forums.unrealengine.com/u/XxNotAGamerxX)\
**Post date:** [March 2, 2023, 1:30am UTC](https://forums.unrealengine.com/t/how-to-locate-any-components-of-the-actor-blueprint-and-get-access-to-their-properties/777475/2 "2023-03-02T01:30:17Z")

</div>

Hi, did you find a solution? I watched your thread last week. Now I had the same question.

_How to edit the Properties/variables of a Child BP (it adds as Child Actor Component) that is inside a Parent BP - (this has been asked since 2015)._

So your question is more for Mesh components, while mine is for Actor Components. What do you need to change on the Meshes, something like their Materials?

I have a partial solution to CastTo the [component] \> get its [Property to change] \> then set it by using a Variable in Parent BP (which is a copy of the type of Variable in the Child component).

- (Btw using CastTo can be a bad method - it links assets together and makes it hard to switch the receiver code later. Im looking for a better method.)

See post for pics:

> [@Repeat Q since 2015: How to change Variables of Child Actor Component, in a BP instance?](https://forums.unrealengine.com/t/repeat-q-since-2015-how-to-change-variables-of-child-actor-component-in-a-bp-instance/780887/5):
>
> Update: I used method #3): in Parent’s Construct Script \> Get Actor of the current Child Actor Component, then CastTo [Child Actor’s] variables \> Set new – (which forces Child’s Construct script to run, read DT, and Set its internal Mesh, color, stats - which will be preloaded in Parent in Editor, then final loaded at BeginPlay).

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-locate-any-components-of-the-actor-blueprint-and-get-access-to-their-properties/777475)._
