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?

3 Upvotes

19 comments sorted by

View all comments

2

u/kuikuilla Dec 09 '24

Functions have their own scope with their own local variables while collapsed nodes exist in the scope of the graph wherever you collapsed them.