Difference between revisions of "Editing Move MC Opposite to Mouse Direction"

From scripting
Jump to: navigation, search
(Created page with " onClipEvent (mouseMove) { xvar = (-1.8)*_root._xmouse + 1350; yvar = (-1.6)*_root._ymouse + 850; this._y = yvar; this._x = xvar; } Category:ActionScript")
 
(No difference)

Latest revision as of 19:36, 24 April 2017

onClipEvent (mouseMove) { 
	
	xvar = (-1.8)*_root._xmouse + 1350;
	yvar = (-1.6)*_root._ymouse + 850;

	this._y = yvar;
	this._x = xvar;

}