# What does the AllowPrivateAccess specifiers do?

**URL:** <https://forums.unrealengine.com/t/what-does-the-allowprivateaccess-specifiers-do/409490>\
**Category:** Blueprint\
**Tags:** UProperty, unreal-engine, Blueprint, question, CPP\
**Created:** [November 13, 2017, 12:26pm UTC](https://forums.unrealengine.com/t/what-does-the-allowprivateaccess-specifiers-do/409490 "2017-11-13T12:26:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Unzkilled](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Unzkilled](https://forums.unrealengine.com/u/Unzkilled)\
**Post date:** [November 13, 2017, 12:26pm UTC](https://forums.unrealengine.com/t/what-does-the-allowprivateaccess-specifiers-do/409490/1 "2017-11-13T12:26:04Z")

</div>

Hello everybody. I noticed in some community codes people using a meta specifier called AllowPrivateAccess this way:

```
UPROPERTY(BlueprintReadWrite, meta=(AllowPrivateAccess = "true"))
float YourPropertyName;

```

I searched in [THIS LINK](https://docs.unrealengine.com/latest/INT/Programming/UnrealArchitecture/Reference/Metadata/) but I can’t find anything related in official documentation.

---

<div class="post-metadata">

**Author:** ![Dune](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dune](https://forums.unrealengine.com/u/Dune)\
**Post date:** [November 13, 2017, 12:51pm UTC](https://forums.unrealengine.com/t/what-does-the-allowprivateaccess-specifiers-do/409490/2 "2017-11-13T12:51:05Z")

</div>

I think [this](https://docs.unrealengine.com/latest/INT/API/Editor/BlueprintGraph/FBlueprintMetadata/MD_AllowPrivateAccess/index.html) is the correct docs for that.

---

<div class="post-metadata">

**Author:** ![Unzkilled](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Unzkilled](https://forums.unrealengine.com/u/Unzkilled)\
**Post date:** [November 14, 2017, 10:42am UTC](https://forums.unrealengine.com/t/what-does-the-allowprivateaccess-specifiers-do/409490/3 "2017-11-14T10:42:41Z")

</div>

Thank you,

---

<div class="post-metadata">

**Author:** ![MattG\_ZeroFill](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mattg_zerofill/32/563889_2.png) [@MattG\_ZeroFill](https://forums.unrealengine.com/u/MattG_ZeroFill)\
**Post date:** [September 3, 2023, 4:17am UTC](https://forums.unrealengine.com/t/what-does-the-allowprivateaccess-specifiers-do/409490/4 "2023-09-03T04:17:35Z")

</div>

With AllowPrivateAccess, one can create classes with private C++ data (hidden from non friend classes) while allowing Blueprint derived classes to access it. I tend to use this to encapsulate data in C++ but make available in a read only manner in blueprint, reducing the number of getter and setter functions.
