Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions obs-zoom-to-mouse.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ function on_print_help()
"----------------------------------------------------\n" ..
"This script will zoom the selected display-capture source to focus on the mouse\n\n" ..
"Zoom Source: The display capture in the current scene to use for zooming\n" ..
"Zoom Factor: How much to zoom in by\n" ..
"Zoom Level: How much to zoom in by\n" ..
"Zoom Speed: The speed of the zoom in/out animation\n" ..
"Auto follow mouse: True to track the cursor while you are zoomed in\n" ..
"Follow outside bounds: True to track the cursor even when it is outside the bounds of the source\n" ..
Expand Down Expand Up @@ -1140,7 +1140,7 @@ function script_properties()
"Click to re-populate Zoom Sources dropdown with available sources")

-- Add the rest of the settings UI
local zoom = obs.obs_properties_add_float(props, "zoom_value", "Zoom Factor", 1, 5, 0.5)
local zoom = obs.obs_properties_add_float(props, "zoom_value", "Zoom Level", 1, 5, 0.5)
local zoom_speed = obs.obs_properties_add_float_slider(props, "zoom_speed", "Zoom Speed", 0.01, 1, 0.01)
local follow = obs.obs_properties_add_bool(props, "follow", "Auto follow mouse ")
obs.obs_property_set_long_description(follow,
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Inspired by [tryptech](https://github.com/tryptech)'s [obs-zoom-and-follow](http
## Usage
1. You can customize the following settings in the OBS Scripts window:
* **Zoom Source**: The display capture in the current scene to use for zooming
* **Zoom Factor**: How much to zoom in by
* **Zoom Level**: How much to zoom in by
* **Zoom Speed**: The speed of the zoom in/out animation
* **Auto follow mouse**: True to track the cursor automatically while you are zoomed in, instead of waiting for the `Toggle follow` hotkey to be pressed first
* **Follow outside bounds**: True to track the cursor even when it is outside the bounds of the source
Expand Down