# In UE5,how the c++ code use blueprint's function

**URL:** <https://forums.unrealengine.com/t/in-ue5-how-the-c-code-use-blueprints-function/533242>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5-0, CPP, Blueprint\
**Created:** [April 19, 2022, 8:43am UTC](https://forums.unrealengine.com/t/in-ue5-how-the-c-code-use-blueprints-function/533242 "2022-04-19T08:43:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [April 19, 2022, 8:56am UTC](https://forums.unrealengine.com/t/in-ue5-how-the-c-code-use-blueprints-function/533242/3 "2022-04-19T08:56:38Z")

</div>

> [@Call Blueprint functions from C++](https://forums.unrealengine.com/t/call-blueprint-functions-from-c/296119/10):
>
> Ok, got this working so here is an example… I want to call a blueprint function from C++. So first I make a blueprint function called CallFunctionTest. (In our game, and we call a player a “Survivor”.) It just prints “Survivor Call Function Test” in pink on the console. Then I have a static blueprint set of functions like this… The header file is #include "Kismet/BlueprintFunctionLibrary.h" #include "TDLSurvivorFastCache.generated.h" /\*\* \* \*/ UCLASS() class TDL\_API UTDLSurvivorFastCa…

---

_[View the full topic](https://forums.unrealengine.com/t/in-ue5-how-the-c-code-use-blueprints-function/533242)._
