Make C++ BP node right click convert to pure

Hi all.

I was just curious, is there a way to make a function behave in a similar way to casts, i.e. you can right click it and convert it to pure if you want to, but can also have the executed version?

Thanks in advance!

If the function is inherently pure, why would you ever want to run the impure version? It makes sense for casts because the impure version has two execution output pins.

In this case it’s because im working in a big framework for my company and would rather not set the function as pure and change the blueprints of people who have been working on it for years. Regardless of the reason im just interested to see if this is something we can do since its already donr in engine

Make a pure wrapper function that calls the impure function.