# Any way to make default value of output parameter for Interface function?

**URL:** <https://forums.unrealengine.com/t/any-way-to-make-default-value-of-output-parameter-for-interface-function/1181989>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, UInterface, CPP, question\
**Created:** [May 29, 2023, 7:08am UTC](https://forums.unrealengine.com/t/any-way-to-make-default-value-of-output-parameter-for-interface-function/1181989 "2023-05-29T07:08:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CallbackGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CallbackGames](https://forums.unrealengine.com/u/CallbackGames)\
**Post date:** [May 29, 2023, 7:08am UTC](https://forums.unrealengine.com/t/any-way-to-make-default-value-of-output-parameter-for-interface-function/1181989/1 "2023-05-29T07:08:38Z")

</div>

Hello! I’m trying to create Interface for interaction purposes.

For example, I have a function named bool CanBeRegistered() and I want this function to always return TRUE by default. Tried different solutions:

1. Switched from bool CanBeRegistered() to void CanBeRegistered(bool& success = true), but syntax issue occured.
2. Defined a body by “\_Implementation” in InteractableInterface.cpp. Blueprint overriden function with calling parent returns false.

Any way I can define default return value for Interface function without overriding it in each blueprint classes I’m adding Interface to?
