Global variable to local?

Hi @Andrej730

Do you need both variables? If so then create a new LOCAL variable with a different name but of the same type. Then at the start of the function SET the local variable to the GET of the global variable.

If you need the variable to exist outside the function then you must leave it as global and setting another variable locally is just a waste of time as you have full access to the global variable anyway.

If its only needed locally and not globally then just create the variable inside the function and delete the original global. Though have you tried copy and paste? It does give you an option to paste as local or global but that maybe limited to between functions/classes copy rather than within the same blueprint.