Editing Move MC Opposite to Mouse Direction

From scripting
Revision as of 19:36, 24 April 2017 by Nickpisca (talk | contribs) (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")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
onClipEvent (mouseMove) { 
	
	xvar = (-1.8)*_root._xmouse + 1350;
	yvar = (-1.6)*_root._ymouse + 850;

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

}