 	Temp2 *= -1
 	MouseMove, %Temp%, %Temp2%, 0, R
 }
-else if Action = MouseUpRight
+else if Action = MouseRightUp
 {
 	Temp = %MouseCurrentSpeedToDirection%
 	Temp += %MouseCurrentSpeedToSide%

{
	MouseMove, %MouseCurrentSpeedToDirection%, %MouseCurrentSpeedToSide%, 0, R
}
else if Action = MouseUpLeft
{
	Temp = %MouseCurrentSpeedToDirection%
	Temp -= %MouseCurrentSpeedToSide%

	Temp2 -= %MouseCurrentSpeedToSide%
	MouseMove, %Temp%, %Temp2%, 0, R
}
else if Action = MouseRightDown
{
	Temp = %MouseCurrentSpeedToDirection%
	Temp -= %MouseCurrentSpeedToSide%
