Lock View is a Foundry VTT module that provides the GM or a designated player with options to control how Foundry is displayed and controlled. The main features include:
- Autoscaling: Autoscaling the scene so it fills the display or scaled so the grid corresponds with physical dimensions.
- Locks: Pan & zoom locks to prevent users from panning or zooming, or force their view to stay within a specified bounding box.
- Force Initial View: Make sure that a scene loads to a specified view position and scale.
- Viewbox: Allows the GM to see the view of users, represented by rectangles drawn on the canvas.
- Panning & Zooming User Views: Move a user's view to a specific point, or offset it by a specific amount of grid spaces.
- Cloning View: Apply your current view to users.
When 'Zoom Lock' or 'Pan Lock' are enabled, this module disables all zooming and/or panning functionality, regardless of who or what is requesting that zoom or pan. This means that, for example, modules that try to pan or zoom won't work. Lock View uses libWrapper, through which incompatibilities might be prevented/fixed.
This module has been tested to work with Foundry V13.
Lock View versions are available for older Foundry versions, see here.
Feel free report an issue/suggestion, contact me on Discord (materialfoundry), or send me an email: info@materialfoundry.nl.
Author: Material Foundry (materialfoundry on Discord)
If you enjoy using my modules, please consider supporting me on Patreon or buy me a coffee through Ko-fi.