# \[Blueprint\] friend class declaration support

**URL:** <https://forums.unrealengine.com/t/blueprint-friend-class-declaration-support/2171733>\
**Category:** Feedback & Requests\
**Tags:** unreal-engine, editor, Blueprint, CPP\
**Created:** [December 4, 2024, 9:33pm UTC](https://forums.unrealengine.com/t/blueprint-friend-class-declaration-support/2171733 "2024-12-04T21:33:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PrincessKoko](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PrincessKoko](https://forums.unrealengine.com/u/PrincessKoko)\
**Post date:** [December 4, 2024, 9:33pm UTC](https://forums.unrealengine.com/t/blueprint-friend-class-declaration-support/2171733/1 "2024-12-04T21:33:29Z")

</div>

> A **friend class** can access private and protected members of other classes in which it is declared as a friend. It is sometimes useful to allow a particular class to access private and protected members of other classes. For example, a LinkedList class may be allowed to access private members of Node.  
> [Friend Class and Function in C++ - GeeksforGeeks](https://www.geeksforgeeks.org/friend-class-function-cpp/)

This feature could become pretty userful if we could be able to take advantage of it in blueprints and plenty of friends of mine myself included would love to see it.

Friendship is one of big features that are part of OOP design after all!

- Thanks!
