mouse move - zoom - mouse idle - revert normal

Hello community, i am very newbie to this.
what i want to achieve is when i move my mouse the screen/window/app should zoom in and when its idle it should go back to normal.

why i want this is because i am a teacher and i record screen sometimes students cannot see small text etc, with zoom in it helps them track and know what i am doing/saying.

how should the zoom in work ?
there should be shortcut key which will enable/disable this
upon enable when i move my mouse/trackpad the screen should be zoom n follow my cursor with cursor size increase.
then if i am not moving my mouse for say 2 sec. it should go back to normal.
or if i disable it.

as i am a newbie i am not able to understand how this software works and how to make it work.
if anyone could guide me it would be a really good help.
thanks in advance

I'm not sure I fully understand what you want to achieve, but it sounds like you just want to use the macOS built in zooming features. You can configure them in System Settings => Accessibility => Zoom

first of all thank you for reply ..
i have already set it to double tap 2 fingers on trackpad to zoom.
but it doesnt follow cursor and it doesnt work on normal mouse.
that system settings > accessibility > zoom doesnt have much options.

so i have to use trackpad only and its tedious and time consuming to zoom in and zoom out manually.
and i cannot use my mouse to achieve the same.

thats why i wanted a key which will activate it and deactivate it.
zoom in follow cursor, when idle back to normal or deactivate by key.

the macOS built in zoom should definitely follow your cursor! (It has been for at least 15 years). It also has a default shortcut for toggling:

In any case, I don't think BetterTouchTool can do it in a better way than the macOS Accessibility Zoom

yea it worked, i dont know what wrong i was doing previously but worked thanks