Help me with Mouse cursor settings

I was using Unity 2019 version and recently upgraded to 2022. I’m trying to work on 2022 version, but I can’t because of the mouse cursor.

If I click the mouse cursor and drag it to the left end of the screen, the mouse doesn’t stop at the end of the screen and reappears at the right end of Unity.

I heard I can turn this mode off in Unity settings, but I can’t find it.

How can I fix this?