Move mouse out of viewport

Needs some help with simulate mouse moving out of viewport.

await I.switchToWindow( windows[0] );
I.switchTo('iframe'); // switch to first iframe
I.moveCursorTo('#submit', 5,5);

this method don’t help me, maybe you know some js script
Thanks