---
url: https://cri-middleware.github.io/SSPlayerForReactNative/api/variables/SsOverridePriority.md
---
# Variable: SsOverridePriority

> `const` **SsOverridePriority**: `object`

Defined in: [packages/react-native-spritestudio/src/core/parts.ts:28](https://github.com/cri-middleware/SSPlayerForReactNative/blob/ddb0878ad347fd4a411e4e2eb0829a948cb07ff8/packages/react-native-spritestudio/src/core/parts.ts#L28)

How long an override outlives the animation that is playing under it.

Omitting `priority` means `holdUntilNextAnimation`, the family's default:
`permanent` would leave an override the switch should have dropped on anyone
reaching past the map into Layer 2. `applySettings` replays the map after every
animation setup, so a prop still describes the state.

## Type Declaration

### holdUntilNextAnimation

> `readonly` **holdUntilNextAnimation**: `1` = `1`

### overwriteOnNextKeyframe

> `readonly` **overwriteOnNextKeyframe**: `0` = `0`

### permanent

> `readonly` **permanent**: `2` = `2`
