# SPRITE_RENDERMODE_SLICED

Variable · category: Graphics

Source: https://github.com/playcanvas/engine/blob/970d89f6d3bc6667f4e1f88153abd6e7e82ed52c/src/scene/constants.js#L944

This mode renders a sprite using 9-slicing in 'sliced' mode. Sliced mode stretches the top and
bottom regions of the sprite horizontally, the left and right regions vertically and the middle
region both horizontally and vertically.

```ts
const SPRITE_RENDERMODE_SLICED: 1 = 1
```
