My code works fine and all but the script editor thinks there is an error, I tried to declare the variable but it does not work how do I fix this?

My code works fine and all but the script editor thinks there is an error, I tried to declare the variable but it does not work how do I fix this?

It looks like the script editor is just advising you to make it a local variable. It shows this “warning” when a global variable in used in scopes where a local variable can access them the same.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.