---
title: width
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlscissorrect/width
---

# width

The width of the scissor rectangle, in pixels.

## Declaration

```swift
var width: Int
```

## See Also

### Specifying scissor boundaries

- [height](metal/mtlscissorrect/height.md)
- [x](metal/mtlscissorrect/x.md)
- [y](metal/mtlscissorrect/y.md)
