# Return a value from a BlueprintImplementableEvent \[Solved\]

**URL:** <https://forums.unrealengine.com/t/return-a-value-from-a-blueprintimplementableevent-solved/2449823>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Blueprint, CPP, question\
**Created:** [April 10, 2025, 3:14pm UTC](https://forums.unrealengine.com/t/return-a-value-from-a-blueprintimplementableevent-solved/2449823 "2025-04-10T15:14:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MW\_Work](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MW\_Work](https://forums.unrealengine.com/u/MW_Work)\
**Post date:** [April 10, 2025, 3:14pm UTC](https://forums.unrealengine.com/t/return-a-value-from-a-blueprintimplementableevent-solved/2449823/1 "2025-04-10T15:14:18Z")

</div>

I have a function I need to implement in blueprints that I would like to be able to get back a boolen from. What I am trying to do is basically:

UFUNCTION(BlueprintImplementableEvent)  
bool MyFunction(bool param1);

However, BlueprintImplementableEvents cannot have a return value.

I’ve tried adding another UPROPERTY to write the output to which works, but I haven’t found any way to set the UPROPERTY to essentially be private and only accessible to the owning class/blueprint.

I’ve tried turning param1 into bool& to see if I could write back into the parameter, but then the event no longer shows up in the editor.

I’ve also tried turning param1 into bool\* which leads to a compiler error.

Finally, [Return a value from a BlueprintImplementableEvent - Programming & Scripting / Blueprint - Epic Developer Community Forums](https://forums.unrealengine.com/t/return-a-value-from-a-blueprintimplementableevent/286185) seems to be exactly what I am looking for and very commonly linked to, but the post with the answer seems to have been deleted.

Is there a method to return a value from a BlueprintImplementableEvent?

Edit: I converted it to a BlueprintNativeEvent

---

<div class="post-metadata">

**Author:** ![STRiFE.x](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/strife.x/32/969826_2.png) [@STRiFE.x](https://forums.unrealengine.com/u/STRiFE.x)\
**Post date:** [April 10, 2025, 3:45pm UTC](https://forums.unrealengine.com/t/return-a-value-from-a-blueprintimplementableevent-solved/2449823/2 "2025-04-10T15:45:13Z")

</div>

Try this.

```cpp
UFUNCTION(BlueprintImplementableEvent, Category = "Foo", meta = (ForceAsFunction))
bool MyFunction(bool param1);

```

---

<div class="post-metadata">

**Author:** ![MW\_Work](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MW\_Work](https://forums.unrealengine.com/u/MW_Work)\
**Post date:** [April 10, 2025, 3:57pm UTC](https://forums.unrealengine.com/t/return-a-value-from-a-blueprintimplementableevent-solved/2449823/3 "2025-04-10T15:57:44Z")

</div>

I like that a lot better than having the empty \_implementation.

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [May 10, 2025, 3:58pm UTC](https://forums.unrealengine.com/t/return-a-value-from-a-blueprintimplementableevent-solved/2449823/4 "2025-05-10T15:58:28Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
