Can you add an increment and decrement operation for blueprints?

I find it very often I have to do simple increment and decrement operations on the blueprints. I’d love to be able to have a increment and decrement node that will incrememnet or decrememnt the value of variables.

I made a poorly concept art of what I meant.

Edit, now that I think about it, it could be done like this.


Hi, your first idea (-- then Set) can be achieved using FunctionLibrary (right click content browser → Blueprints → Blueprint Function Library), – and ++ can be easily implemented like in the screenshot below.

Seconds idea (-- inside set) needs to modify a variable and it’s not possible with Blueprint Function Library, maybe you can achieve it with a C++ user defined function but i’m not sure it can take references to BP variables.