---
schema_version: "1"
id: b9bacb02d11ae2336a6ae153d3f7ce2d4a4b956347a13b487abc4991e8271832
title: StoryPointSwitchedEvent | Tableau Embedding API
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/api/embedding_api/reference/interfaces/StoryPointSwitchedEvent.md
canonical_url: https://help.tableau.com/v0.0/api/embedding_api/en-us/reference/interfaces/StoryPointSwitchedEvent.html
source_site: help.tableau.com
content_type: documentation
content_hash: fdf1a8078033ea2b3455c9f3b29df3fa43a4a143b4462e55e19522f8c65e1d32
description: Documentation for Tableau Embedding API
---
- StoryPointSwitchedEvent

# Interface StoryPointSwitchedEvent

An event that signals when a different story point is selected in a story.

interface StoryPointSwitchedEvent {  
    [newStoryPoint](#newstorypoint): [StoryPoint](https://help.tableau.com/v0.0/api/embedding_api/en-us/reference/interfaces/StoryPoint.html);  
    [oldStoryPointInfo](#oldstorypointinfo): [StoryPointInfo](https://help.tableau.com/v0.0/api/embedding_api/en-us/reference/interfaces/StoryPointInfo.html);  
}

- Defined in packages/api-external-contract-js/src/ExternalContract/Embedding/EventInterfaces.ts:186

##### Index

### Properties

[newStoryPoint](#newstorypoint) [oldStoryPointInfo](#oldstorypointinfo)

## Properties

### `Readonly`newStoryPoint[](#newstorypoint)

newStoryPoint: [StoryPoint](https://help.tableau.com/v0.0/api/embedding_api/en-us/reference/interfaces/StoryPoint.html)

#### Returns[](#returns)

The [StoryPoint](https://help.tableau.com/v0.0/api/embedding_api/en-us/reference/interfaces/StoryPoint.html) that is currently active.

- Defined in packages/api-external-contract-js/src/ExternalContract/Embedding/EventInterfaces.ts:195

### `Readonly`oldStoryPointInfo[](#oldstorypointinfo)

oldStoryPointInfo: [StoryPointInfo](https://help.tableau.com/v0.0/api/embedding_api/en-us/reference/interfaces/StoryPointInfo.html)

#### Returns[](#returns-1)

The [StoryPointInfo](https://help.tableau.com/v0.0/api/embedding_api/en-us/reference/interfaces/StoryPointInfo.html) that was active before the story point switch event occurred. The returned object reflects the state of the story point before the switch occurred.

- Defined in packages/api-external-contract-js/src/ExternalContract/Embedding/EventInterfaces.ts:190

### Settings

Member Visibility

- Protected
- Inherited
- External

ThemeOSLightDark

### On This Page

Properties

[newStoryPoint](#newstorypoint)[oldStoryPointInfo](#oldstorypointinfo)