---
title: "simd_make_uchar2(_:_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/simd_make_uchar2(_:_:)"
---

# simd_make_uchar2(_:_:)

Returns a new vector from the specified scalar values.

## Declaration

```swift
func simd_make_uchar2(_ x: UInt8, _ y: UInt8) -> simd_uchar2
```

## See Also

### Functions to Create Two-Element Vectors From Scalar Values

- [simd_make_uchar2(_:)](simd/simd_make_uchar2(_:)-152cz.md)
- [simd_make_uchar2_undef(_:)](simd/simd_make_uchar2_undef(_:).md)
