Roll20 Plus and Pro subscribers have access to Dynamic Lighting which offers a hands-off solution to tracking player vision and line of sight on a page
The Fog of War feature allows you to manually reveal areas of the map to your players. This is useful if you have a group exploring areas that should remain hidden or otherwise would not be visible (rooms on a map, secrets on a game board, etc.) Fog of War is static and can only be removed or added by a GM within the game; the presence or absence of players, light sources, lines of sight, etc. will not have any effect on Fog of War. Fog of War will cover up anything on the tabletop, including all tokens, maps, text, and drawings. The only exception is that a player can see tokens they control in order to prevent players from moving tokens beneath fog where they could not recover them.
Enabling Fog of War
By default, a page has their Fog of War feature disabled. To enable, go to the Page Toolbar, and then click the gear icon for the page you wish to add Fog of War to. The gear icon will open that page's Page Settings window. Check the toggle next to Fog of War: Enabled to activate the Fog of War. Click on the OK button at the bottom of the Page Settings window to save your changes. If you have the edited page currently loaded on the Tabletop, your view of the Tabletop will now appear slightly darker. This is the Fog of War added to the Page. Once enabled, the entire page will be hidden behind the Fog of War and ready for the GM to start revealing areas of the map for the players.
In the Page Settings window you can also adjust the GM Opacity slider. This controls how dark the Fog of War and Dynamic Lighting appears to the GM. Slide it to the right for greater opacity. At 100%, the Fog of War will be completely opaque to the GM just as it would be for your players.
(Note: Plus & Pro users can still find the opacity slider in the Dynamic Lighting tab)
Enabling Fog of War is done on a Page by Page basis via the Page Settings window.
Clicking on the Eye icon of the Tabletop Toolbar will pull up a sub-menu of Fog of War tools to reveal or hide areas of the page.
Reveal Areas Tool
When using Reveal Areas, left click and drag on the Tabletop to draw out a rectangle. You will see a yellow selection area appear under your mouse cursor as you do this. When you release the mouse button, the area you have drawn will be revealed. To reveal further parts of the page, just repeat this process.
Polygon Reveal Tool
The Polygon Reveal tool functions the same way one would use the Polygon/Line Tool from the Drawing menu of the Tabletop Toolbar. Click on the Tabletop where you want the vertices of the polygon to be drawn and a yellow selection area will start taking shape. Hold down the Shift key while drawing to conform the polygon vertices to the grid. Pressing CTRL/Option + Z while drawing will undo the last vertex step you made. Either hit the Escape key, right click, or left click close to the starting point of the polygon to finish the shape.
Hide Areas Tool
If you've made a mistake or need to cover a previously revealed area of the page with fog, choose the Hide Areas sub-tool. This tool operated exactly like the Reveal Areas sub-tool. Each rectangular area you click and drag over the Tabletop will cover that area with fog again.
If you would like to cover the Tabletop completely up with Fog again, select the Reset Fog sub-tool. A confirmation window will appear first to ensure that this action isn't made by mistake.
Previewing Your Work
If you wish to see what your Fog of War masking looks like from the Player's side, go to the Settings Tab on the Sidebar and at the top of the tab, click on the Re-Join as Player button. This will reload Roll20 with the Player's user interface. To jump back to GM Mode, go back to the Settings Tab and click on the Re-Join as GM button.
Make sure you have set the Players Bookmark Ribbon on the page you are currently working on or else your Tabletop might load an unintended page.