---
title: "GLKVector3Length(_:)"
framework: GLKit
role: symbol
role_heading: Function
platforms: [iOS 5.0+, iPadOS 5.0+, macOS 10.8+, tvOS 9.0+]
path: "glkit/glkvector3length(_:)"
---

# GLKVector3Length(_:)

Returns the length of a vector.

## Declaration

```swift
func GLKVector3Length(_ vector: GLKVector3) -> Float
```

## Parameters

- `vector`: A vector.

## Return Value

Return Value The length of the vector.

## See Also

### Retrieving Information About a Vector

- [GLKVector3Distance(_:_:)](glkit/glkvector3distance(_:_:).md)
