Body, Mind & Soul — API Reference
    Preparing search index...

    Function openAuraLightConfig

    • Open Foundry's native AmbientLightConfig sheet (the Light palette UI) on a non-embedded AmbientLightDocument seeded with the target document's system.auraLightConfig. On submit, the edited light config is written back to system.auraLightConfig on the original document instead of being used to persist the temp light.

      Used by both the BMS effect sheet and the bmsEffect journal page sheet to expose the full LightData template editor behind a single "Advanced Lighting Options" cog button.

      Parameters

      • targetDoc: Document

        The document carrying system.auraLightConfig (a BodyMindSoulActiveEffect or bmsEffect page).

      Returns Promise<void>