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

> `const` **MAX_STEP_MS**: `number`

Defined in: [packages/react-native-spritestudio/src/player/SpriteStudioPlayer.ts:175](https://github.com/cri-middleware/SSPlayerForReactNative/blob/ddb0878ad347fd4a411e4e2eb0829a948cb07ff8/packages/react-native-spritestudio/src/player/SpriteStudioPlayer.ts#L175)

The largest step a clock will hand to `advance`, in milliseconds (~15fps).

Without it, returning from the background delivers one enormous delta and the
animation fast-forwards through every frame it missed — including firing
every event on them.
