# Expose function to blueprints with Plus (+) sign!

**URL:** <https://forums.unrealengine.com/t/expose-function-to-blueprints-with-plus-sign/2237902>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, functions, CPP, Blueprint, question\
**Created:** [December 23, 2024, 2:29am UTC](https://forums.unrealengine.com/t/expose-function-to-blueprints-with-plus-sign/2237902 "2024-12-23T02:29:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShinyLopunny69](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ShinyLopunny69](https://forums.unrealengine.com/u/ShinyLopunny69)\
**Post date:** [December 23, 2024, 2:29am UTC](https://forums.unrealengine.com/t/expose-function-to-blueprints-with-plus-sign/2237902/1 "2024-12-23T02:29:32Z")

</div>

You know how there are some customizable nodes in blueprints that have a (+) button and you can click it and add outputs for the node?  
Like the switch on string, you click + and u add each string-case and the outputs updates to it.  
Another example is the regular math functions, u click + and it adds more inputs, like when you add up integers!  
This is really hard to google!  
Is there a way to create blueprint functions (obvi through C++) that work in this fashion?

If it needs source code that’s ok.

---

<div class="post-metadata">

**Author:** ![VisAgilis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/visagilis/32/891043_2.png) [@VisAgilis](https://forums.unrealengine.com/u/VisAgilis)\
**Post date:** [December 23, 2024, 6:35am UTC](https://forums.unrealengine.com/t/expose-function-to-blueprints-with-plus-sign/2237902/2 "2024-12-23T06:35:25Z")

</div>

> [@ShinyLopunny69](#):
>
> Is there a way to create blueprint functions (obvi through C++) that work in this fashion?

At first it sounded like you wanned to make this in C++, but after reading this:

> [@ShinyLopunny69](#):
>
> If it needs source code that’s ok.

I think you’re just looking for a way in blueprints.

* * *

So you can simply select multiple nodes by either dragging the cursor over them or selecting them individually while holding Ctrl, right click _(not on a pin)_, click on the Collapse Nodes into Function option in the menu that pops up, then double click on the newly created function, click on the return node _(or the entry)_ inside, navigate to the Details window while it’s selected, add a new input / output and choose it’s type as exec _(the white one)_

Hope this helps! 😇

---

<div class="post-metadata">

**Author:** ![ShinyLopunny69](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ShinyLopunny69](https://forums.unrealengine.com/u/ShinyLopunny69)\
**Post date:** [December 26, 2024, 12:48am UTC](https://forums.unrealengine.com/t/expose-function-to-blueprints-with-plus-sign/2237902/3 "2024-12-26T00:48:37Z")

</div>

It does not help at all. No offense.  
edit: I provided an example of what I am referring to.
