Use your trackpad or mouse to zoom on Mac
You can use the trackpad on your Mac or an Apple wireless mouse to zoom in on part of the screen.
On your Mac, choose Apple menu > System Settings, click Accessibility in the sidebar, then click Zoom on the right. (You may need to scroll down.)
Select “Use scroll gesture with modifier keys to zoom” to turn on zooming.
Choose a modifier key (Control, Option or Command) to use to zoom, or press a combination of them together.
To zoom, press and hold the specified modifier key or keys and scroll using your trackpad or mouse.
If your mouse or trackpad supports it, you can turn on “Smart zoom” in Mouse or Trackpad settings and zoom using a simple gesture: double-tap on the mouse with one finger or on the trackpad with two fingers.
You can set additional options for using zoom, such as whether to zoom the whole screen or a part of it. See Change Zoom settings for accessibility.