# Get the type stored in a FArrayProperty

**URL:** <https://forums.unrealengine.com/t/get-the-type-stored-in-a-farrayproperty/560263>\
**Category:** C++\
**Tags:** unreal-engine, Array, UE4-27, CPP, question\
**Created:** [May 18, 2022, 1:43pm UTC](https://forums.unrealengine.com/t/get-the-type-stored-in-a-farrayproperty/560263 "2022-05-18T13:43:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mauvaisetasse](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mauvaisetasse](https://forums.unrealengine.com/u/mauvaisetasse)\
**Post date:** [May 18, 2022, 1:43pm UTC](https://forums.unrealengine.com/t/get-the-type-stored-in-a-farrayproperty/560263/1 "2022-05-18T13:43:55Z")

</div>

Hello, I want to know the type that is inside an FArrayProperty, how to ?

For example, I have a blueprint array of string and in C++ I want to know if its a FString Array/

Thank you in advance for your help.

---

<div class="post-metadata">

**Author:** ![xi57](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xi57/32/1194660_2.png) [@xi57](https://forums.unrealengine.com/u/xi57)\
**Post date:** [May 18, 2022, 3:08pm UTC](https://forums.unrealengine.com/t/get-the-type-stored-in-a-farrayproperty/560263/2 "2022-05-18T15:08:19Z")

</div>

If you specifically need access to that variable in C++, you should probably define it in C++ and mark it as public so blueprints can modify it.

If you **must** define it in blueprints rather than in C++, the best thing to do would probably be to export a `BlueprintCallable` function in C++ that requires a `TArray<FString>*` as an argument and you can pass it in that way, knowing that the variable is of the type you expect.

I don’t think data is supposed to go the direction that you are suggesting though, defined in the child class and used by the parent class. It seems much better to define it in the parent (C++) and then use it in the child (blueprint).
