# Ask for CommonButtonBase Delegate AddDynamic, AddUniqueDynamic

**URL:** <https://forums.unrealengine.com/t/ask-for-commonbuttonbase-delegate-adddynamic-adduniquedynamic/1906643>\
**Category:** C++\
**Tags:** button, unreal-engine, delegate, UI, CPP, question\
**Created:** [June 17, 2024, 4:43pm UTC](https://forums.unrealengine.com/t/ask-for-commonbuttonbase-delegate-adddynamic-adduniquedynamic/1906643 "2024-06-17T16:43:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![606014](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@606014](https://forums.unrealengine.com/u/606014)\
**Post date:** [June 17, 2024, 4:43pm UTC](https://forums.unrealengine.com/t/ask-for-commonbuttonbase-delegate-adddynamic-adduniquedynamic/1906643/1 "2024-06-17T16:43:22Z")

</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 terrible functions like OnClick\_BTSkill1, OnClick\_BTSkill2, etc. As a result, I got to a plug-in called CommonUI, and I thought using CommonButtonBase would work the way I wanted it to.

However, the OnClickedDelegate in CommonButtonBase does not have AddDynamic. The internet tutorial told me to use AddUniqueDynamic, but I don’t even see the D of Dynamic in myDelegate.

Can anyone explain this to me? If I don’t fix it within this week, I’ll have to suffer from a terrible 30 binding function. Please save me. Thank you.

 ![스크린샷 2024-06-18 014102](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/4/b/84b164a5eb64b3e248ab49712a42dfc2acc0d0b3.png)  
 ![스크린샷 2024-06-18 014130](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/3/8/43884de7fb2cfacd98b0b676ee876496d5e2f59e.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/5/7c55ff72361439733c4bec3816f6a7666042e580.png)

---

<div class="post-metadata">

**Author:** ![Renbr0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Renbr0](https://forums.unrealengine.com/u/Renbr0)\
**Post date:** [March 18, 2025, 6:40pm UTC](https://forums.unrealengine.com/t/ask-for-commonbuttonbase-delegate-adddynamic-adduniquedynamic/1906643/2 "2025-03-18T18:40:36Z")

</div>

Hey there,  
I found this post while I was facing the same issue. Unfortunately using CommonUI in C++ is a pretty bad experience, I hope they’ll improve it.

It seems UCommonButtonBase::FCommonButtonEvent is a native multicast delegate. Which doesn’t support dynamic binding using `AddDynamic`.

My solution was binding the event using `AddUObject`.

Here is my code:

void UMMS\_MainMenuButtons::NativePreConstruct()  
{  
PlayButton-\>OnClicked().AddUObject(this, &UMMS\_MainMenuButtons::OnPlayButtonClicked);  
}
