Create scene
create-sceneCreate Foundry VTT scenes from existing images or videos by setting dimensions, grid, folder, template, and linked journal.
Instructions
Create a scene from an image or video already in the Foundry data directory, such as a battlemap or a location picture. Without width and height the file is measured so the grid fits. templateName copies the settings of an existing scene (grid, lighting, level settings) but nothing that lies on its map and never its id. folderPath takes nested paths like "Locations/Harbour" and creates missing folders. journalIdentifier links a journal as the scene journal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the scene; underscores become spaces | |
| width | No | Width in pixels instead of the measured one | |
| height | No | Height in pixels instead of the measured one | |
| navName | No | Label in the scene navigation. Without it: the name without an SC_ or BM_ prefix, underscores as spaces. | |
| padding | No | Padding around the map; default the template value or 0 | |
| activate | No | Activate the scene for everyone once it exists | |
| gridSize | No | Grid size in pixels; default the template value or 100 | |
| background | Yes | Path of the image or video inside the Foundry data directory, e.g. "Maps/Hafen/SC_Hafen_Nacht.webp" | |
| folderPath | No | Folder path, nested with "/", e.g. "Locations/Harbour" | |
| navigation | No | Show the scene in the navigation (default false) | |
| templateName | No | Id or name of a scene whose settings are copied | |
| journalPageName | No | Page of that journal to open, by id or exact name | |
| journalIdentifier | No | Journal linked as the scene journal (shown by Foundry for the scene, unlike a note on the map), by id or name. An empty string removes the link. |