Skip to content

Variable: MAX_STEP_MS ​

const MAX_STEP_MS: number

Defined in: packages/react-native-spritestudio/src/player/SpriteStudioPlayer.ts:175

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.