FoundryVTT MCP Server Documentation - v0.9.2
    Preparing search index...

    Interface FoundryScene

    Represents a scene (map/battleground) in FoundryVTT

    Scenes are the visual environments where gameplay takes place, containing background images, tokens, lighting, walls, and other elements.

    FoundryScene

    const dungeon: FoundryScene = {
    _id: 'scene-789',
    name: 'Ancient Tomb',
    active: true,
    width: 4000,
    height: 3000,
    grid: { size: 100, type: 1 }
    };
    interface FoundryScene {
        _id: string;
        name: string;
        active: boolean;
        navigation: boolean;
        img?: string;
        background?: string;
        width: number;
        height: number;
        padding: number;
        initial?: { x: number; y: number; scale: number };
        grid?: {
            type: number;
            size: number;
            color: string;
            alpha: number;
            distance: number;
            units: string;
        };
        shiftX: number;
        shiftY: number;
        description?: string;
        notes?: string;
        weather?: string;
        environment?: string;
        globalLight: boolean;
        globalLightThreshold?: number;
        darkness: number;
        tokens?: FoundryToken[];
        walls?: FoundryWall[];
        lights?: FoundryLight[];
        sounds?: FoundrySound[];
        drawings?: FoundryDrawing[];
    }
    Index

    Properties

    _id: string
    name: string
    active: boolean
    navigation: boolean
    img?: string
    background?: string
    width: number
    height: number
    padding: number
    initial?: { x: number; y: number; scale: number }
    grid?: {
        type: number;
        size: number;
        color: string;
        alpha: number;
        distance: number;
        units: string;
    }
    shiftX: number
    shiftY: number
    description?: string
    notes?: string
    weather?: string
    environment?: string
    globalLight: boolean
    globalLightThreshold?: number
    darkness: number
    tokens?: FoundryToken[]
    walls?: FoundryWall[]
    lights?: FoundryLight[]
    sounds?: FoundrySound[]
    drawings?: FoundryDrawing[]