Hi I'm using OBS version 32.0.4 and I couldn't get the lua zoom script obs-zoom-to-mouse.lua to work, until I did the following
Go to the git address listed here
https://github.com/andilippi/obs-zoom...
and download the zip file
Create a sources capture in OBS. I am using Brave
Make sure your browser is open and not minimised
In OBS click the + sign. Select the Window Capture option
accept the Create new option choose the browser exe, click OK
Now go to your download folder and open the zip file and the next folder
right click the lua file and choose copy
In OBS, go to Tools-Scripts click on the + sign bottom left
then paste the lua file into the OBS scripts window that opens
You might need to accept any security windows that open
/*
If that doesn't work for you, the OBS scripts folder address is C:\Program Files\obs-studio\data\obs-plugins\frontend-tools\scripts
Your address may differ
Copy and paste the obs zoom to mouse lua file into that window
*/
In the OBS Tools-Scripts window see if there is anything other than "None" in the zoom source drop down menu.
If not, click the Refresh zoom sources, then try the drop down again.
Make sure you check the Allow any zoom source check box
If there is still "None" make sure you have set up a sources Capture
If that is working
go to File-Settings-Hotkeys and look for Toggle zoom to mouse and Toggle follow mouse during zoom
I just used F1 and F2. Use any keys you want
Click apply.
To use the zoom features you have to be capturing the program or browser.