---
url: https://cri-middleware.github.io/SSPlayerForWeb/api/@spritestudio/ssplayer-core/enumerations/SSOverridePriority.md
---
# Enumeration: SSOverridePriority

Defined in: [src/PartOverride.ts:20](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-core/src/PartOverride.ts#L20)

Keyframe-vs-override precedence for the attributes that conflict with the
animation (colour and cell). Visibility has no priority mode: it is a plain
force-hide flag that always wins and is always cleared by a new setup.
Mirrors SS6's KindIgnoreAttribute.

## Enumeration Members

### HoldUntilNextAnimation

> **HoldUntilNextAnimation**: `1`

Defined in: [src/PartOverride.ts:32](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-core/src/PartOverride.ts#L32)

SS6 NOW_ANIMATION: the override wins for the current animation and is
cleared when a new animation is set up. The usual choice.

***

### OverwriteOnNextKeyframe

> **OverwriteOnNextKeyframe**: `0`

Defined in: [src/PartOverride.ts:26](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-core/src/PartOverride.ts#L26)

SS6 NON: the keyframe reclaims the attribute on any frame the animation
drives it, so the override only shows on frames the animation leaves that
attribute alone. Cleared when a new animation is set up.

***

### Permanent

> **Permanent**: `2`

Defined in: [src/PartOverride.ts:38](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-core/src/PartOverride.ts#L38)

SS6 PERMANENT: the override wins and survives animation changes
(re-validated against the new part count within the same SSAB).
