Editing Move MC Opposite to Mouse Direction

From scripting
Jump to: navigation, search
onClipEvent (mouseMove) { 
	
	xvar = (-1.8)*_root._xmouse + 1350;
	yvar = (-1.6)*_root._ymouse + 850;

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

}