Local Variables in Blueprint

Can you create local variables in the editor window that are only used for a specific portion of the blueprint without having to create a class wide variable?

Say you want to create an integer that a piece of blueprint can adjust but it goes back to its default value each time the code is run and it’s not stored anywhere when the code is not running.

you can do that in a blueprint function. when creating a function open it, and you ll have a local vairable panel.
hope it helps