---
schema_version: "1"
id: 5de68091821b7978586ed5227130c37c9483dc3dc39968b72bfb990917fb5e7d
title: StoryPointSwitchedEvent | Tableau Embedding API
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/api/embedding_api/reference/interfaces/StoryPointSwitchedEvent.md
canonical_url: https://help.tableau.com/current/api/embedding_api/en-us/reference/interfaces/StoryPointSwitchedEvent.html
source_site: help.tableau.com
content_type: documentation
content_hash: 1bc6a07c68271ab074c3345601d782fba38d527ecd9bd0e6e971dac440b37d34
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/current/api/embedding_api/en-us/reference/interfaces/StoryPoint.html);  
    [oldStoryPointInfo](#oldstorypointinfo): [StoryPointInfo](https://help.tableau.com/current/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/current/api/embedding_api/en-us/reference/interfaces/StoryPoint.html)

#### Returns[](#returns)

The [StoryPoint](https://help.tableau.com/current/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/current/api/embedding_api/en-us/reference/interfaces/StoryPointInfo.html)

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

The [StoryPointInfo](https://help.tableau.com/current/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)