Warning for large Z-Axis movements

Not sure if easel uses the soft limits when jogging. However there have been times where I have wanted to cut the wasteboard.

This code should work. You could also add in a button press check so the user can bypass the check as well.

if (axis == "Z" && amount > 5){
	var x=window.confirm("Are You Sure?")
	if (x){
		//Do It
	}
}else{
	// If X Or Y just do it or < 5
	//Do It
}