# \[Blueprints\] How to add delegate parameter to interface function?

**URL:** <https://forums.unrealengine.com/t/blueprints-how-to-add-delegate-parameter-to-interface-function/479965>\
**Category:** UI\
**Tags:** interface, dispatcher, unreal-engine, question\
**Created:** [March 9, 2021, 10:18am UTC](https://forums.unrealengine.com/t/blueprints-how-to-add-delegate-parameter-to-interface-function/479965 "2021-03-09T10:18:56Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_Fawzy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Joseph\_Fawzy](https://forums.unrealengine.com/u/Joseph_Fawzy)\
**Post date:** [March 9, 2021, 10:18am UTC](https://forums.unrealengine.com/t/blueprints-how-to-add-delegate-parameter-to-interface-function/479965/1 "2021-03-09T10:18:56Z")

</div>

Hi

We are trying to move our implementation to the “Implement to interfaces” paradigm, where everything is an implementation on an interface

Interfaces cannot have “event dispatchers”, so we tried to pass the event to function in the interfaces then bind it in the implementation as we can do in normal class function  
Unfortunately, we could not do that, we cannot define an interface function parameter of type “delegate”

In a class, I can create a normal function that take an event as a parameter and bind it to a dispatcher, I cannot make this an interface function as I do not know how to define it in the interface

Thanks

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [March 9, 2021, 11:21am UTC](https://forums.unrealengine.com/t/blueprints-how-to-add-delegate-parameter-to-interface-function/479965/2 "2021-03-09T11:21:39Z")

</div>

Don’t think it’s possible without a plugin or C++

---

<div class="post-metadata">

**Author:** ![Joseph\_Fawzy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Joseph\_Fawzy](https://forums.unrealengine.com/u/Joseph_Fawzy)\
**Post date:** [March 9, 2021, 11:27am UTC](https://forums.unrealengine.com/t/blueprints-how-to-add-delegate-parameter-to-interface-function/479965/3 "2021-03-09T11:27:59Z")

</div>

If it is not possible, Is it a feature or a bug?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [March 9, 2021, 11:29am UTC](https://forums.unrealengine.com/t/blueprints-how-to-add-delegate-parameter-to-interface-function/479965/4 "2021-03-09T11:29:01Z")

</div>

Not everything implemented in C++ has been exposed to blueprint. This just hasn’t been done…

Are you against plugins? There’s a good one that allows you to trigger any event with just an actor ref:

> **[EventDispatcher in Code Plugins - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/eventdispatcher)**
>
> Global event handler / manager (delegates)

---

<div class="post-metadata">

**Author:** ![Joseph\_Fawzy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Joseph\_Fawzy](https://forums.unrealengine.com/u/Joseph_Fawzy)\
**Post date:** [March 9, 2021, 1:30pm UTC](https://forums.unrealengine.com/t/blueprints-how-to-add-delegate-parameter-to-interface-function/479965/5 "2021-03-09T13:30:00Z")

</div>

Thanks for your suggestion

I am not generally against plugins, but this is a feature that will reside in the foundation code, it has to be a core engine feature.

also, I saw the demo video and it does not seem to have the required feature (delegate as interface function parameter)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [March 9, 2021, 1:47pm UTC](https://forums.unrealengine.com/t/blueprints-how-to-add-delegate-parameter-to-interface-function/479965/6 "2021-03-09T13:47:45Z")

</div>

To be fair, delegates are not the same as interfaces 🙂

( They have a different use ).

---

<div class="post-metadata">

**Author:** ![Maeth0r](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maeth0r](https://forums.unrealengine.com/u/Maeth0r)\
**Post date:** [January 24, 2023, 9:14am UTC](https://forums.unrealengine.com/t/blueprints-how-to-add-delegate-parameter-to-interface-function/479965/7 "2023-01-24T09:14:38Z")

</div>

We also need Interfaces that support implementing delegates.

Any luck finding out how to do this in a generic way? (that also supports Blueprints)

---

<div class="post-metadata">

**Author:** ![Quyrion\_K](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/quyrion_k/32/976490_2.png) [@Quyrion\_K](https://forums.unrealengine.com/u/Quyrion_K)\
**Post date:** [August 4, 2024, 2:50pm UTC](https://forums.unrealengine.com/t/blueprints-how-to-add-delegate-parameter-to-interface-function/479965/8 "2024-08-04T14:50:24Z")

</div>

This might be an old thread but wanted to document how I’ve achieved a solution for a similar problem:

# Problem

We were developing a system of minigames, which included some events sensitive to the minigame information (`OnClose`, `OnClompeted`, `OnFail`, etc…)

This needed to be an interface, as `parenting` UI widgets was not an option at the time.  
**This lead to the error: we can’t have neither `Delegate` parameters nor `EventDispatchers` on interfaces** (and for other reasons, C++ wasn’t an option)

# Solution

We’ve created an `Object` type class called `MinigameDelegates` where we can specify any event we would want.  
Then, on the interface itself, we’ve implemented `GetMinigameDelegates` which return this very object for any other class that need this info.

The only downside is that we need to make an `Valid` check on each one of the classes that _implements_ our interface, but this surely was a backdrawn we were willing to take

---

<div class="post-metadata">

**Author:** ![Mad.King](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mad.king/32/761302_2.png) [@Mad.King](https://forums.unrealengine.com/u/Mad.King)\
**Post date:** [November 13, 2024, 9:04pm UTC](https://forums.unrealengine.com/t/blueprints-how-to-add-delegate-parameter-to-interface-function/479965/9 "2024-11-13T21:04:29Z")

</div>

There is no straightforward solution I can think of in C++ either to support this in blueprints. If you try to use an event delegate as a function parameter for your interface and make that function `BlueprintCallable`, you’ll get slapped with the following compiler error:

`Type 'YourEventDelegate' is not supported by blueprint.`

---

<div class="post-metadata">

**Author:** ![DayLawn1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/daylawn1/32/1023239_2.png) [@DayLawn1](https://forums.unrealengine.com/u/DayLawn1)\
**Post date:** [January 31, 2025, 5:26am UTC](https://forums.unrealengine.com/t/blueprints-how-to-add-delegate-parameter-to-interface-function/479965/10 "2025-01-31T05:26:30Z")

</div>

I know its an old thread but just wanted to come in and give a big thumbs up to this solution. Obviously its not ideal but I have been bashing my head at how I can work around not having event dispatchers within interfaces. This worked great.

---

<div class="post-metadata">

**Author:** ![Rhamlock](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rhamlock/32/879876_2.png) [@Rhamlock](https://forums.unrealengine.com/u/Rhamlock)\
**Post date:** [August 1, 2025, 5:23am UTC](https://forums.unrealengine.com/t/blueprints-how-to-add-delegate-parameter-to-interface-function/479965/11 "2025-08-01T05:23:49Z")

</div>

I need to know more! how can we do this?  
I’ve been trying to put delegate inputs into my interfaces, but it is not possible.  
could you explain this solution a little more in depth plz?  
my understading is limited

---

<div class="post-metadata">

**Author:** ![MagForceSeven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/magforceseven/32/906563_2.png) [@MagForceSeven](https://forums.unrealengine.com/u/MagForceSeven)\
**Post date:** [August 1, 2025, 1:53pm UTC](https://forums.unrealengine.com/t/blueprints-how-to-add-delegate-parameter-to-interface-function/479965/12 "2025-08-01T13:53:03Z")

</div>

What have you tried? This should work just fine as long as you work within the limitations of interfaces.

Since interfaces can only have functions, you just need to create a function that takes a delegate:

```auto
DECLARE_DYNAMIC_DELEGATE_TWOPARAMS( FMyDelegate, int, Param1, float, Param2 );

UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
FDelegateHandle BindToDelegate( FMyDelegate Delegate );

UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void UnbindDelegate(FDelegateHandle Handle);

```

Of course it’s up to the implementor to do something with that delegate and to call the delegates that have been bound with that function. And to deal with what it means to have multiple delegates bound at the same time (which may or may not be something to allow in your use case).

(The type of delegate, two params, is for example purposes only. You can, of course, declare the dynamic delegate with as many and varied params as you need)

---

<div class="post-metadata">

**Author:** ![nuklerist](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nuklerist/32/1194598_2.png) [@nuklerist](https://forums.unrealengine.com/u/nuklerist)\
**Post date:** [October 14, 2026, 4:17pm UTC](https://forums.unrealengine.com/t/blueprints-how-to-add-delegate-parameter-to-interface-function/479965/13 "2026-10-14T16:17:37Z")

</div>

![resim](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/e/e/8ee8611fdc34258edd72229ea34d44f9e8fe5b0d.png)

1. Create a function in any blueprint.
2. Call “Set Timer By Event” node and connect Event to the beginning node of the function.
3. Delegate input should be created, delete the “Set Timer By Event” node and cut the function from the functions tab (CTRL+X)
4. Open your blueprint interface, paste it there (CTRL+V).

With this workaround you can use delegates in blueprint interfaces. I dont know why the blueprint delegates are supported and not supported at the same time.
