# Friend UClasses not working?

**URL:** <https://forums.unrealengine.com/t/friend-uclasses-not-working/290789>\
**Category:** Blueprint\
**Tags:** UClass, unreal-engine, Blueprint, question\
**Created:** [August 12, 2014, 5:01pm UTC](https://forums.unrealengine.com/t/friend-uclasses-not-working/290789 "2014-08-12T17:01:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lordink](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lordink](https://forums.unrealengine.com/u/Lordink)\
**Post date:** [August 12, 2014, 5:01pm UTC](https://forums.unrealengine.com/t/friend-uclasses-not-working/290789/1 "2014-08-12T17:01:51Z")

</div>

Hi guys,

Do I get it right that Cpp’s Friend class functionality is not legit for UClasses? I assigned one class as a friend to my character class, however that class still can not access my protected variables in BPs (Blueprints shows a warning for that).

---

<div class="post-metadata">

**Author:** ![joeGraf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joeGraf](https://forums.unrealengine.com/u/joeGraf)\
**Post date:** [August 15, 2014, 5:29pm UTC](https://forums.unrealengine.com/t/friend-uclasses-not-working/290789/2 "2014-08-15T17:29:54Z")

</div>

Friendship for C++ classes is not exposed to Blueprints. It’s better to create UFUNCTION accessors, which can be safely called from Blueprints

---

<div class="post-metadata">

**Author:** ![Lordink](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lordink](https://forums.unrealengine.com/u/Lordink)\
**Post date:** [August 15, 2014, 5:40pm UTC](https://forums.unrealengine.com/t/friend-uclasses-not-working/290789/3 "2014-08-15T17:40:23Z")

</div>

Ok, thanks.

---

<div class="post-metadata">

**Author:** ![CrimsonHawk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CrimsonHawk](https://forums.unrealengine.com/u/CrimsonHawk)\
**Post date:** [November 13, 2016, 5:00pm UTC](https://forums.unrealengine.com/t/friend-uclasses-not-working/290789/4 "2016-11-13T17:00:43Z")

</div>

It isn’t planned to feature friend classes for Blueprints, is it? It would be nice if some blueprints would have other privileges than others.
