Register

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 2 months 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`)

demo

Categories

Available Versions

  1. Version 1.2.1

    2 months ago
    Foundry Version 10 - 11 (Verified 11) Manifest URL Read Notes