Annoying white rounded rectangle follows cursor around after wrong keyboard shortcut

After making the wrong keyboard shortcut, a weird rounded rectangle with a thick white border appeared around my cursor and followed the cursor around.

(I was trying to make the shortcut that arranges icons by kind)

Inside the rectangle the screen was almost normal but kind of pixelated. I couldn’t take a screenshot but I recreated in Illustrator:

enter image description here

It was extremely annoying and I had to log out of my session and back in to finish work.

What did I trigger and how do I get out of this horrible thing if it ever happens again?

macOS High Sierra


Solution 1:

System Preferences > Accessibility > Zoom in the sidebar.

Shortcut is alt+command+8

https://support.apple.com/en-in/guide/mac-help/mh35715/10.14/mac/10.14