Hello @Robert_Lovasz
Are you just trying to change the scope of the variable? if yes, its possible to change the scope of variable in all the hierarchy which it will show in the variable panel.
For example if you have a separate sequence and you create a variable, initially the scope will be that particular sequence. Then if you need to change it to main, you can select from the variable panel.
Then if you again need to change it back, you can do it again.
Thanks