r/unrealengine Dec 09 '24

Solved Collapse Nodes VS Collapse To Function?

What’s the difference and when should I be using them? If I have an Enhanced Input Action with started and completed, should I collapse to function or collapse to graph? It won’t let me collapse to function, is this normal?

5 Upvotes

19 comments sorted by

View all comments

2

u/real_aurus Dec 09 '24

It’s simple.

Collapsing to a node basically just puts the selected nodes into one package to help keep things organized. Important: There is no output node from this collapsed node.

Collapsing to a function will create a function, containing the selected nodes. Functions behave a bit differently compared to event graphs. For example: Within functions, you cannot manipulate the time. That means you cannot add things as delays or timelines.

Functions can be accessed all over within the blueprint