---
title: position
framework: gameplaykit
role: symbol
role_heading: Instance Property
path: gameplaykit/gksphereobstacle/position
---

# position

The position of the obstacle.

## Declaration

```swift
var position: vector_float3 { get set }
```

## Discussion

Discussion The coordinate system for agents and obstacles is arbitrary; you may choose how to map agent and obstacle positions and sizes into your game scene.

## See Also

### Placing an Obstacle

- [radius](gameplaykit/gksphereobstacle/radius.md)
