# New-ImageStoryScene

Groups resolved panels into one timed visual-story scene.

 Command  

**Module**

`imageplayground`

**Inputs**

 `ImagePlayground.PowerShell.Stories.ImageStoryPanelSpec[]` 

**Outputs**

 `ImagePlayground.PowerShell.Stories.ImageStorySceneSpec` 

Groups resolved panels into one timed visual-story scene.

## Syntax

```
New-ImageStoryScene
[-DurationSeconds <Double>]
-Id <String>
[-Layout <Focus|Split|Stacked>]
-Panels <ImageStoryPanelSpec[]>
-Title <String>
[<CommonParameters>]
```

 [#](#method-new-imagestoryscene-double-string-visualstoryscenelayout-imagestorypanelspec-string) 

Parameter set: `All Parameter Sets`

## Examples

### Create a scene from a resolved text panel

```powershell
$panel = New-ImageStoryPanel -Id 'summary' -Text 'Deployment completed.' -Emphasized
New-ImageStoryScene -Id 'result' -Title 'Deployment result' -Panels $panel -DurationSeconds 3
```

## Parameters

**-DurationSeconds Double optional**

Scene display duration.

**-Id String required**

Stable scene identifier.

**-Layout VisualStorySceneLayout optional**

Panel arrangement.

Possible values: `Focus`, `Split`, `Stacked`

**-Panels ImageStoryPanelSpec[] requiredpipeline: True (ByValue)**

Resolved panels in display order.

**-Title String required**

Visible scene heading.

## Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see [about_CommonParameters](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

## Outputs

ImagePlayground.PowerShell.Stories.ImageStorySceneSpec: PowerShell-friendly resolved scene specification for New-ImageStory.

<!-- PowerForge markdown artifact sha256:6441A336915720FC5400FE49A938B54A13A0F7D13E6C326F014995D68692D108 -->
