Cursor Teleportation?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By slightly_seasoned

So if you’ve used Godot for at least a week or so, you should probably know that, [in the 3D or 2D editor] when you hold right-click & drag the cursor to any edge of the viewport, it creates this scrolling effect & teleports your cursor to the opposite side of the viewport. I’ve tried to do this once [in the 3D editor,] but had a problem; when you drag it to the edge of the window, the cursor teleports to the opposite side of the window, buuut… When it teleports to the other side, the Y axis/ X axis [depending on the edge your cursor previously touched] of the cursor doesn’t update & creates this camera stutter. How can you fix this?