# \#delegate

**URL:** https://forums.unrealengine.com/tag/delegate/1294.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [Storing reference of delegate in pointer](https://forums.unrealengine.com/t/storing-reference-of-delegate-in-pointer/2670110)

<div class="topic-metadata">

**Author:** [@mrm\_dev](https://forums.unrealengine.com/u/mrm_dev)\
**Replies:** 5\
**Last updated:** [October 31, 2025, 10:26am UTC](https://forums.unrealengine.com/t/storing-reference-of-delegate-in-pointer/2670110 "2025-10-31T10:26:45Z")

</div>

I have multiple different classes which need to perform the same complex operation So to keep my code dry, I’m using a manager object which requires a delegate for the complex operation Here’s a simplified example: DE…

---

## [Ask for CommonButtonBase Delegate AddDynamic, AddUniqueDynamic](https://forums.unrealengine.com/t/ask-for-commonbuttonbase-delegate-adddynamic-adduniquedynamic/1906643)

<div class="topic-metadata">

**Author:** [@606014](https://forums.unrealengine.com/u/606014)\
**Replies:** 1\
**Last updated:** [March 18, 2025, 6:40pm UTC](https://forums.unrealengine.com/t/ask-for-commonbuttonbase-delegate-adddynamic-adduniquedynamic/1906643 "2025-03-18T18:40:36Z")

</div>

Hi. I’m producing a game with a lot of skills. Players can choose what they want from many skills. For this, I created a button in the shape of many skill icons in one widget. I found a solution to avoid creating terri…

---

## [How do I make a function delegate parameter optional?](https://forums.unrealengine.com/t/how-do-i-make-a-function-delegate-parameter-optional/366830)

<div class="topic-metadata">

**Author:** [@TornadoStorm](https://forums.unrealengine.com/u/TornadoStorm)\
**Replies:** 5\
**Last updated:** [February 10, 2025, 5:00pm UTC](https://forums.unrealengine.com/t/how-do-i-make-a-function-delegate-parameter-optional/366830 "2025-02-10T17:00:56Z")

</div>

Hello, I have a function with a Delegate (by ref) (or Event reference) Parameter which connects to a ‘Bind Event to’ node, but if I leave this input node blank, it does not allow me to compile the code and produces an e…

---

## [Blueprintable delegates with return values](https://forums.unrealengine.com/t/blueprintable-delegates-with-return-values/312897)

<div class="topic-metadata">

**Author:** [@itsAcren](https://forums.unrealengine.com/u/itsAcren)\
**Replies:** 11\
**Last updated:** [November 13, 2024, 2:47pm UTC](https://forums.unrealengine.com/t/blueprintable-delegates-with-return-values/312897 "2024-11-13T14:47:18Z")

</div>

Is it possible to declare delegates with return values that can be assigned in Blueprint? I know you can have input only events with BlueprintAssignable, but as far as I know the delegates have to be multicast and thus …

---

## [Give non code example for use of delegate](https://forums.unrealengine.com/t/give-non-code-example-for-use-of-delegate/1874015)

<div class="topic-metadata">

**Author:** [@BugSwat](https://forums.unrealengine.com/u/BugSwat)\
**Replies:** 8\
**Last updated:** [May 27, 2024, 1:10pm UTC](https://forums.unrealengine.com/t/give-non-code-example-for-use-of-delegate/1874015 "2024-05-27T13:10:12Z")

</div>

I am trying to understand why I would use delegates. Please do NOT point to documentation about HOW to use them or that other post with the same question and the useless answer. I do NOT want code examples and I do NOT…

---

## [How to change random time in Set Timer Delegate every loop?](https://forums.unrealengine.com/t/how-to-change-random-time-in-set-timer-delegate-every-loop/304334)

<div class="topic-metadata">

**Author:** [@darkpivot](https://forums.unrealengine.com/u/darkpivot)\
**Replies:** 5\
**Last updated:** [May 4, 2024, 1:39pm UTC](https://forums.unrealengine.com/t/how-to-change-random-time-in-set-timer-delegate-every-loop/304334 "2024-05-04T13:39:31Z")

</div>

I have a ‘set timer delegate’ node, set to looping. I have the time set to a ‘random float in range’ with a min and max time value. I want it so that every time the timer loops, it will randomize the time again. My probl…

---

## [Component End Overlap not working. C++](https://forums.unrealengine.com/t/component-end-overlap-not-working-c/357234)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c42a4aec](https://forums.unrealengine.com/u/anonymous_user_c42a4aec)\
**Replies:** 4\
**Last updated:** [February 29, 2024, 9:35am UTC](https://forums.unrealengine.com/t/component-end-overlap-not-working-c/357234 "2024-02-29T09:35:14Z")

</div>

I’m trying to set up an Overlap End for a trigger box in c++. RepairStation is the name for this class. Here is the tBox set up. In RepairStation.h UPROPERTY(EditAnywhere) UShapeComponent \*tBox; In RepairStation.c…

---

## [(UE5.3) how to bind to multicast delegate in C++?](https://forums.unrealengine.com/t/ue5-3-how-to-bind-to-multicast-delegate-in-c/1538219)

<div class="topic-metadata">

**Author:** [@CyFio](https://forums.unrealengine.com/u/CyFio)\
**Replies:** 5\
**Last updated:** [December 21, 2023, 8:10am UTC](https://forums.unrealengine.com/t/ue5-3-how-to-bind-to-multicast-delegate-in-c/1538219 "2023-12-21T08:10:11Z")

</div>

I declared an dynamic multicast delegate in C++ as: DECLARE\_DYNAMIC\_MULTICAST\_DELEGATE\_OneParam(FMsgDispatcher, const struct FRecvContext&, recvContext); UClass class UXXComponent: : public UActorComponent { GENERATED…

---

## [Send bool from widget to character](https://forums.unrealengine.com/t/send-bool-from-widget-to-character/1225223)

<div class="topic-metadata">

**Author:** [@Itsnotme4](https://forums.unrealengine.com/u/Itsnotme4)\
**Replies:** 4\
**Last updated:** [September 1, 2023, 3:16pm UTC](https://forums.unrealengine.com/t/send-bool-from-widget-to-character/1225223 "2023-09-01T15:16:50Z")

</div>

In short, I want to press a button in my widget which enters a constructionmode, in constructionmode my character will linetrace and spawn the selected block into the world. The linetracing and spawning works. I need hel…

---

## [How to use the "Export to Disk" node?](https://forums.unrealengine.com/t/how-to-use-the-export-to-disk-node/440654)

<div class="topic-metadata">

**Author:** [@Planet\_Vano](https://forums.unrealengine.com/u/Planet_Vano)\
**Replies:** 13\
**Last updated:** [May 23, 2023, 5:36pm UTC](https://forums.unrealengine.com/t/how-to-use-the-export-to-disk-node/440654 "2023-05-23T17:36:21Z")

</div>

I am trying to export a texture from the game in game. The only thing I am not sure how to use is the “Options on Complete” delegate connection. What does the Options on Complete connection mean and what should I conn…

---

## [About Deligate](https://forums.unrealengine.com/t/about-deligate/770989)

<div class="topic-metadata">

**Author:** [@nimoh\_1](https://forums.unrealengine.com/u/nimoh_1)\
**Replies:** 0\
**Last updated:** [February 15, 2023, 4:31am UTC](https://forums.unrealengine.com/t/about-deligate/770989 "2023-02-15T04:31:47Z")

</div>

Hello. I want to implement Deligate in a publisher-Subscriber pattern. There are widgets and components, and I have created a manager class that connects them. The widget is an item cell widget, which stores item info…

---

## [What are the purpose of delegate handles?](https://forums.unrealengine.com/t/what-are-the-purpose-of-delegate-handles/736727)

<div class="topic-metadata">

**Author:** [@ZackAkai](https://forums.unrealengine.com/u/ZackAkai)\
**Replies:** 2\
**Last updated:** [December 27, 2022, 5:36pm UTC](https://forums.unrealengine.com/t/what-are-the-purpose-of-delegate-handles/736727 "2022-12-27T17:36:45Z")

</div>

I’m more or less familiar with the basics of delegates in UE. However I’ve been working on a system to create and join servers for a multiplayer project, and I’ve come across something I haven’t encountered before - del…

---

## [Bind multicast delegate with Add()](https://forums.unrealengine.com/t/bind-multicast-delegate-with-add/299663)

<div class="topic-metadata">

**Author:** [@itsAcren](https://forums.unrealengine.com/u/itsAcren)\
**Replies:** 3\
**Last updated:** [October 20, 2022, 9:22am UTC](https://forums.unrealengine.com/t/bind-multicast-delegate-with-add/299663 "2022-10-20T09:22:15Z")

</div>

Hello. I want to bind a method in a component to the OnTakeAnyDamage event of the owning Actor. OnTakeAnyDamage as defined in Actor.h: UPROPERTY(BlueprintAssignable, Category="Game|Damage") FTakeAnyDamageSignature OnT…

---

## [Slate AssetPicker SObjectPropertyEntryBox .ObjectPath () FString to FString cast error](https://forums.unrealengine.com/t/slate-assetpicker-sobjectpropertyentrybox-objectpath-fstring-to-fstring-cast-error/482553)

<div class="topic-metadata">

**Author:** [@Crakmaks](https://forums.unrealengine.com/u/Crakmaks)\
**Replies:** 1\
**Last updated:** [September 27, 2022, 4:29pm UTC](https://forums.unrealengine.com/t/slate-assetpicker-sobjectpropertyentrybox-objectpath-fstring-to-fstring-cast-error/482553 "2022-09-27T16:29:07Z")

</div>

Hey everyone, I’m still trying to get my assetpicker for my plugin working. I want to see the chosen asset and therefore need to provide it with an ObjectPath. It expects a FString my delegate is of type FString and it’…

---

## [How to Wildcard Delegates in c++ to blueprints?](https://forums.unrealengine.com/t/how-to-wildcard-delegates-in-c-to-blueprints/504804)

<div class="topic-metadata">

**Author:** [@Estigio97](https://forums.unrealengine.com/u/Estigio97)\
**Replies:** 1\
**Last updated:** [March 10, 2022, 12:54am UTC](https://forums.unrealengine.com/t/how-to-wildcard-delegates-in-c-to-blueprints/504804 "2022-03-10T00:54:41Z")

</div>

Hi, I’m looking for a way to create a delegate that can contain at least one parameter like Wildcard. I am trying to create a predicate to search an array via FilterByPredicate. Honestly I’ve been stuck at this point and…

---

## [Niagara Shader Module Delegate Never Set](https://forums.unrealengine.com/t/niagara-shader-module-delegate-never-set/463402)

<div class="topic-metadata">

**Author:** [@BlackHatBrian](https://forums.unrealengine.com/u/BlackHatBrian)\
**Replies:** 24\
**Last updated:** [December 2, 2021, 5:46pm UTC](https://forums.unrealengine.com/t/niagara-shader-module-delegate-never-set/463402 "2021-12-02T17:46:32Z")

</div>

After packaging my game which uses various Niagara emitters and Systems as well as forming these systems in C++ to be used in Blueprint, my game crashes with this error log: Assertion failed: OnRequestDefaultDataInterf…

---

## [Object is bound to delegate, before binding is executed in code.](https://forums.unrealengine.com/t/object-is-bound-to-delegate-before-binding-is-executed-in-code/437961)

<div class="topic-metadata">

**Author:** [@King\_Zero](https://forums.unrealengine.com/u/King_Zero)\
**Replies:** 1\
**Last updated:** [October 7, 2021, 12:37pm UTC](https://forums.unrealengine.com/t/object-is-bound-to-delegate-before-binding-is-executed-in-code/437961 "2021-10-07T12:37:22Z")

</div>

Hi. I’ve created a class deriving from UHorizontalBox, it is a custom class that helps with gamepad navigation. I have a strange problem with delegate binding. In the OnWidgetRebuilt function, I’m binding functions to de…

---

## [Using SetPawn causes Access violation](https://forums.unrealengine.com/t/using-setpawn-causes-access-violation/480614)

<div class="topic-metadata">

**Author:** [@Neonzz](https://forums.unrealengine.com/u/Neonzz)\
**Replies:** 10\
**Last updated:** [March 20, 2021, 9:50pm UTC](https://forums.unrealengine.com/t/using-setpawn-causes-access-violation/480614 "2021-03-20T21:50:18Z")

</div>

Hello, Here is my issue I’ve just added a Dynamic\_Multicast\_delegate to my code SetPawn seems to be the best method to use for the listening function however when I hit play I get Acces Violation from the PlayerControll…

---

## [!TBaseFunctorDelegateInstance and FTimerUnifiedDelegate::Execute() timer crash](https://forums.unrealengine.com/t/tbasefunctordelegateinstance-and-ftimerunifieddelegate-execute-timer-crash/478525)

<div class="topic-metadata">

**Author:** [@xSm0ke](https://forums.unrealengine.com/u/xSm0ke)\
**Replies:** 1\
**Last updated:** [March 4, 2021, 6:27pm UTC](https://forums.unrealengine.com/t/tbasefunctordelegateinstance-and-ftimerunifieddelegate-execute-timer-crash/478525 "2021-03-04T18:27:13Z")

</div>

Hello I get a weird crash while running my game for 50-60 seconds on both android and PC. It’s more likely to happen on android and especially if I restart level inside my game several times (I have only one level, resta…

---

## [Issue using TMap as a parameter for Multicast Delegate](https://forums.unrealengine.com/t/issue-using-tmap-as-a-parameter-for-multicast-delegate/417098)

<div class="topic-metadata">

**Author:** [@Pakyman](https://forums.unrealengine.com/u/Pakyman)\
**Replies:** 1\
**Last updated:** [January 19, 2021, 12:37am UTC](https://forums.unrealengine.com/t/issue-using-tmap-as-a-parameter-for-multicast-delegate/417098 "2021-01-19T00:37:44Z")

</div>

Hello, I’m trying to set a TMap as a parameter for a Dynamic Delegate but compiler gives me FEquipmentset ’ - type must be a UCLASS, USTRUCT or UENUM error. \` typedef TMap FEquipmentSet; DECLARE\_DYNAMIC\_MULTICAST\_D…

---

## [Lambda as slate delegate](https://forums.unrealengine.com/t/lambda-as-slate-delegate/286547)

<div class="topic-metadata">

**Author:** [@twiddle](https://forums.unrealengine.com/u/twiddle)\
**Replies:** 8\
**Last updated:** [October 13, 2020, 6:19am UTC](https://forums.unrealengine.com/t/lambda-as-slate-delegate/286547 "2020-10-13T06:19:09Z")

</div>

Is it possible to use a lambda as a slate delegate for generating items in a SListView? eg SNew(SListView\<TSharedRef\<FString\> \>) .ListItemsSource(&SessionNames) .OnGenerateRow(\[\](TSharedRef\<FString\> string)-\>TS…

---

## [OnClicked.AddDynamic - no arguments expected in Delegate?](https://forums.unrealengine.com/t/onclicked-adddynamic-no-arguments-expected-in-delegate/452952)

<div class="topic-metadata">

**Author:** [@rystills](https://forums.unrealengine.com/u/rystills)\
**Replies:** 2\
**Last updated:** [July 28, 2019, 8:11am UTC](https://forums.unrealengine.com/t/onclicked-adddynamic-no-arguments-expected-in-delegate/452952 "2019-07-28T08:11:11Z")

</div>

In order to assign functionality to some buttons in C++, I decided to use OnClicked.AddDynamic. From reading past threads I learned that OnClicked.AddDynamic delegates were changed some time ago to take two parameters - …

---

## [UDelegateFunction as parameter](https://forums.unrealengine.com/t/udelegatefunction-as-parameter/390921)

<div class="topic-metadata">

**Author:** [@Arkh4in](https://forums.unrealengine.com/u/Arkh4in)\
**Replies:** 2\
**Last updated:** [June 17, 2019, 5:17pm UTC](https://forums.unrealengine.com/t/udelegatefunction-as-parameter/390921 "2019-06-17T17:17:57Z")

</div>

Hi guys, I’m currently implementing an event manager (which is not in the scene, it’s pure c++) that must call blueprints events / functions. What seemed the most easy to use was a function pointer on a function created…

---

## [Why isn't the hit result passed as a parameter for the end overlap delegate?](https://forums.unrealengine.com/t/why-isnt-the-hit-result-passed-as-a-parameter-for-the-end-overlap-delegate/439194)

<div class="topic-metadata">

**Author:** [@Beastready](https://forums.unrealengine.com/u/Beastready)\
**Replies:** 0\
**Last updated:** [December 9, 2018, 10:39pm UTC](https://forums.unrealengine.com/t/why-isnt-the-hit-result-passed-as-a-parameter-for-the-end-overlap-delegate/439194 "2018-12-09T22:39:46Z")

</div>

Hello, i’m trying to do a bullet projectile penetration system and in order to do that i’m setting the wall as overlapping the projectile. On begin overlap i can get the hit result but the end overlap hit result doesn’t …

---

## [Bindings keyboard inputs via Delegates fail](https://forums.unrealengine.com/t/bindings-keyboard-inputs-via-delegates-fail/411144)

<div class="topic-metadata">

**Author:** [@D.Shchepetkov](https://forums.unrealengine.com/u/D.Shchepetkov)\
**Replies:** 9\
**Last updated:** [December 3, 2017, 11:51pm UTC](https://forums.unrealengine.com/t/bindings-keyboard-inputs-via-delegates-fail/411144 "2017-12-03T23:51:45Z")

</div>

Sorry dude, but I’m really confused about what you are trying to do. By the way you should bind your key input within your player controller. See this image, it is on player controller, everytime key E is pressed it will…

---

## [Slate: How to pass a variable along in the OnClicked event for a button?](https://forums.unrealengine.com/t/slate-how-to-pass-a-variable-along-in-the-onclicked-event-for-a-button/278584)

<div class="topic-metadata">

**Author:** [@ReqPro\_1](https://forums.unrealengine.com/u/ReqPro_1)\
**Replies:** 5\
**Last updated:** [June 16, 2017, 10:26am UTC](https://forums.unrealengine.com/t/slate-how-to-pass-a-variable-along-in-the-onclicked-event-for-a-button/278584 "2017-06-16T10:26:04Z")

</div>

As the title says, I’ve got a button that I can click and a function is called - however, the OnClicked declaration shows a delegate to be passed with FReply as return value and no parameters. Now it’s absolutely essent…

---

## [Receiving BlueprintNativeEvent event in C++](https://forums.unrealengine.com/t/receiving-blueprintnativeevent-event-in-c/387011)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_395266df1](https://forums.unrealengine.com/u/anonymous_user_395266df1)\
**Replies:** 0\
**Last updated:** [March 5, 2017, 3:39pm UTC](https://forums.unrealengine.com/t/receiving-blueprintnativeevent-event-in-c/387011 "2017-03-05T15:39:26Z")

</div>

Hi, I have a class that implements a BlueprintNativeEvent function and it works perfect - I’m able to receive my event from blueprint level. However, I would also like to receive the event on C++ level in another class…

---

## [I can't use UObject method delegates with raw pointers](https://forums.unrealengine.com/t/i-cant-use-uobject-method-delegates-with-raw-pointers/297049)

<div class="topic-metadata">

**Author:** [@mystery\_1](https://forums.unrealengine.com/u/mystery_1)\
**Replies:** 7\
**Last updated:** [July 28, 2016, 7:31am UTC](https://forums.unrealengine.com/t/i-cant-use-uobject-method-delegates-with-raw-pointers/297049 "2016-07-28T07:31:43Z")

</div>

Hello, I’m quite a newbie in C++ I agree with it… I have an error that I don’t really understand : If I do this : UWorld\* World = whatever; World-\>GetTimerManager().Whatever(this, &MyClass::MyFunction, ...); It give…

---

## [Detect variable value changes?](https://forums.unrealengine.com/t/detect-variable-value-changes/330670)

<div class="topic-metadata">

**Author:** [@Sleicreider](https://forums.unrealengine.com/u/Sleicreider)\
**Replies:** 4\
**Last updated:** [July 25, 2016, 6:39pm UTC](https://forums.unrealengine.com/t/detect-variable-value-changes/330670 "2016-07-25T18:39:55Z")

</div>

Hey, Is it somehow possible to detect if a value of my variable has changed? e.g. if my float health; value changes something should happen automatically. For example, in umg I can bind a variable to my progress bar,…

---

## [Execute a delegate, from within a delegate?](https://forums.unrealengine.com/t/execute-a-delegate-from-within-a-delegate/357659)

<div class="topic-metadata">

**Author:** [@fabian.s123](https://forums.unrealengine.com/u/fabian.s123)\
**Replies:** 0\
**Last updated:** [May 17, 2016, 6:03am UTC](https://forums.unrealengine.com/t/execute-a-delegate-from-within-a-delegate/357659 "2016-05-17T06:03:04Z")

</div>

So this has had me banging my head against the wall. I’ve been trying to call a delegate from within another delegate (the OnProcessRequestComplete from HTTP requests). However, every time I try calling it from within …

[Next page](https://forums.unrealengine.com/tag/delegate/1294.md?match_all_tags=true&page=1&tags%5B%5D=delegate)
