The 'WindowButtonMotionFcn' is blocked when 'rotate3d' is toggled to 'on'. As a result, automatically switching 'rotate3d' to 'off' cannot be implemented by the 'WindowButtonMotionFcn'.
There are no known workarounds besides implementing buttons to manually toggle 'rotate3d' to 'on' or 'off'.
Best Answer