Global variables/mouse clicking
Posted: 22 Oct 2012, 16:11
How would i create some global variables to work with in both code pieces and normal actions. For example, setting the variables using:
var mouse = new Mouse();
x = mouse.position().x;
y = mouse.position().y;
And after clicking this position not through code, but through normal actions. How can i do it?
var mouse = new Mouse();
x = mouse.position().x;
y = mouse.position().y;
And after clicking this position not through code, but through normal actions. How can i do it?