---
title: y
framework: metalperformanceshaders
role: symbol
role_heading: Instance Property
path: metalperformanceshaders/mpsorigin/y
---

# y

The y coordinate of the position, in pixels.

## Declaration

```swift
var y: Double
```

## See Also

### Fields

- [x](metalperformanceshaders/mpsorigin/x.md)
- [z](metalperformanceshaders/mpsorigin/z.md)
