# Having multiple outputs in a math expression node?

**URL:** <https://forums.unrealengine.com/t/having-multiple-outputs-in-a-math-expression-node/39172>\
**Category:** Community & Industry Discussion\
**Tags:** unreal-engine\
**Created:** [August 20, 2015, 8:17pm UTC](https://forums.unrealengine.com/t/having-multiple-outputs-in-a-math-expression-node/39172 "2015-08-20T20:17:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JmDevTx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JmDevTx](https://forums.unrealengine.com/u/JmDevTx)\
**Post date:** [August 20, 2015, 8:17pm UTC](https://forums.unrealengine.com/t/having-multiple-outputs-in-a-math-expression-node/39172/1 "2015-08-20T20:17:30Z")

</div>

Hello everyone, I’ve recently been playing around with the math expression node, and there are a few questions that I can’t seem to find answers to. When I picture myself using this node, I picture an equation like: A = Z_5, B = Z_2 In my mind, this equation would have one input being Z, and two outputs being A & B, but an equation like this does not work. I can’t seem to find any way to have more than 1 output with a math expression node, and it is getting on my nerves, I feel like something like this is absolutely essential for the math expression node. Is this something I can do? Or shall I make a feature request?

---

<div class="post-metadata">

**Author:** ![\_cDub](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_cDub](https://forums.unrealengine.com/u/_cDub)\
**Post date:** [August 21, 2015, 2:20am UTC](https://forums.unrealengine.com/t/having-multiple-outputs-in-a-math-expression-node/39172/2 "2015-08-21T02:20:51Z")

</div>

I guess you could make a pure function. It is kind of like a math node and can output any number of outputs and more than floats and integers.

---

<div class="post-metadata">

**Author:** ![JmDevTx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JmDevTx](https://forums.unrealengine.com/u/JmDevTx)\
**Post date:** [August 21, 2015, 5:43am UTC](https://forums.unrealengine.com/t/having-multiple-outputs-in-a-math-expression-node/39172/3 "2015-08-21T05:43:18Z")

</div>

> [@\_cDub;360642](#):
>
> I guess you could make a pure function. It is kind of like a math node and can output any number of outputs and more than floats and integers.

Yes but the whole reason I am using a math expression node is that I can type equations, which is extremely quick compared to dragging the nodes onto the screen.

---

<div class="post-metadata">

**Author:** ![gmc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gmc](https://forums.unrealengine.com/u/gmc)\
**Post date:** [August 26, 2015, 3:36am UTC](https://forums.unrealengine.com/t/having-multiple-outputs-in-a-math-expression-node/39172/4 "2015-08-26T03:36:02Z")

</div>

I completely agree with this, if we are going to have a math expressions node, it should be able to do multiple equations and things like x/y=w w%10=r (take the output and use it in the equation so you can get something like Division and Remainder without having to write the same equation multiple times)

---

<div class="post-metadata">

**Author:** ![JmDevTx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JmDevTx](https://forums.unrealengine.com/u/JmDevTx)\
**Post date:** [August 26, 2015, 4:09am UTC](https://forums.unrealengine.com/t/having-multiple-outputs-in-a-math-expression-node/39172/5 "2015-08-26T04:09:53Z")

</div>

I just made a post in the feedback area, here is the link in case you want to back me up: [Support for multiple outputs on a math expression node - Feedback for Unreal Engine team - Unreal Engine Forums](https://forums.unrealengine.com/showthread.php?81934-Support-for-multiple-outputs-on-a-math-expression-node&p=364540#post364540)

---

<div class="post-metadata">

**Author:** ![TheSnark](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSnark](https://forums.unrealengine.com/u/TheSnark)\
**Post date:** [May 14, 2022, 4:16pm UTC](https://forums.unrealengine.com/t/having-multiple-outputs-in-a-math-expression-node/39172/6 "2022-05-14T16:16:11Z")

</div>

You can use vector for multiple output:  
`(vector((z * 5), (z * 2)))`
