Resource icon

OBS Lua Zoom and Follow Mouse and More - By Edoardo Guzzi 2.1.0

Rewritten zoom and follow engine

  • State-machine animation: Single named timer with idle / zooming_in / zoomed_in / zooming_out states, fixing all timer-leak and double-fire bugs.
  • Fixed-endpoint lerp: Zoom-in/out smoothly interpolates between pre-calculated start and end crops — no per-frame recalculation, no flickering.
  • First-click reliability: Source dimensions are captured before the crop filter is applied, so the very first hotkey press always works.
  • Center-point follow: Follow mode only moves the viewport center, keeping viewport size locked to the current zoom level. Eliminates zoom drift and flicker during tracking.
  • Simplified settings: Removed the redundant "Zoom Speed" slider. Zoom animation timing is now controlled directly via Zoom In Duration and Zoom Out Duration (ms), moved from Advanced Settings to the main panel.
  • Expanded limits: Zoom Value up to 100, durations up to 60 000 ms — no arbitrary caps.
Back
Top