---
url: https://cri-middleware.github.io/SSPlayerForReactNative/api/interfaces/SsMeasureRequest.md
---
# Interface: SsMeasureRequest

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

What to measure the content box over, and how far.

The cost is a bake per frame walked, so the scope is the caller's call:
`animation` walks one, `pack` walks every animation in the file.

## Properties

### maxFrames?

> `optional` **maxFrames?**: `number`

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

Frames to walk per animation; 0 walks one authored cycle.

A cycle is right for a character and wrong for an effect, whose extent keeps
growing for as long as it is simulated.

***

### scope

> **scope**: [`SsFrameScope`](../type-aliases/SsFrameScope.md)

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