How do I create and access global variables?

I am creating a tic tac toe game and need global variable to keep track of which spots have been filled. I think I can figure it out if I just see how a global variable is created and accessed in general.

Any variable within a component is global to that component. To use them across components, you access them as componentName.script.variableName.

If you are talking about within the graph itself, all variables are global.

Are you familiar with Actions and Ticker in a graph?

Thank you! This is just what I needed

No, I am not familiar with that