HI
i am trying to move a box with mouse button,
I have 2 boxes in the program , blue and green, blue moves fine
i have global variable called currentbox which = a1
how can i change the variable currentbox to a2 so that it moves the green box
in the event sheet i am unable to change the variable in this line a1 to a2
runtime.callFunction("move1",a1.uid,mousex,mousey,5000)
c3p file here
qurantour.com/1/move-object.c3p