How do you set a variable equal to another?

How do I set global variable x = to global variable y

Like so ?


oh I guess it doesn't work in initialize global variable

You can replace the button event with screen initialise, but you may as well just set global x to that value ?

1 Like

Yes, you cannot initialize a variable as another variable because both variables are being initialized. The variable has to be ready to be set to any other variables.