Canvas Fade In and Out

An Add-on Module for Foundry Virtual Tabletop

Author: Xaukael Project Source: Project URL Versions 10 - 11 (Verified 11) Last Updated 3 months, 4 weeks ago

This module allows for easy hiding of the canvas for players. It has options for setting the background and fade duration to customize the experience. Players will not be able to see or interract with the canvas whiel it is faded out.

Here is an example macro that will toggle a fade of the canvas to grey over 1 second.

await game.settings.set('canvas-fade-in-out', 'background', 'black')
await game.settings.set('canvas-fade-in-out', 'duration', 1000)
await game.settings.set('canvas-fade-in-out', 'visible', !game.settings.get('canvas-fade-in-out', 'visible'))
ui.notifications.notify(`Canvas ${game.settings.get('canvas-fade-in-out', 'visible')?'is':'is not'} visible to players`)



Available Versions

  1. Version 1.1.1

    Compatibility: 10 - 11 (Verified 11) Installation Link: Manifest URL Update Notes: Read Notes