I'm not sure what you're asking.
Do you want to highlight the mouse in a fixed capture area? That's relatively easy: there are several different things that will highlight the pointer, independently of OBS. Pick one of those, and OBS should pick it up too.
Do you want to move the capture area to keep the mouse centered in it? That's a lot harder. It *might* be possible to use the Advanced Scene Switcher to capture the position of the mouse, and then crop a fixed capture based on that position.
This plugin will allow you to automate various tasks using "Macros". Macros consist of a list of conditions under which a list of actions will be performed. Examples and guides can be found in the wiki. Feel free to contribute! If you run...
obsproject.com
If you need help doing that, it would be better to ask in the plugin discussion thread:
Warmuptill submitted a new resource: Automatic Scene Switching - Switches to specified scenes depending on which window is in focus A remake of the "Simple Scene Switcher"(https://obsproject.com/forum/resources/simple-scene-switcher.29/) for obs-studio. Installation 1. Extract the folder. 2...
obsproject.com