Game Guides > Game FAQ >  

How do you make variables in game maker 7

How do you make variables in game maker 7
Depends, if you wish to create a variable that is only controlled by one object, then simply declare: "variable_name=x" with x being whatever value. Although, if you want a variable that is controlled by any object, then name the variable: "global.variable_name" the global part insures the variable will be available for reference to any object.