---
title: path
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcvirtualcontroller/elementconfiguration/path
---

# path

The Bezier path for the shape of an element.

## Declaration

```swift
var path: UIBezierPath? { get set }
```

## Discussion

Discussion Use this property to customize the image of an element. The framework only supports custom paths for button elements.

## See Also

### Configuring elements

- [isHidden](gamecontroller/gcvirtualcontroller/elementconfiguration/ishidden.md)
- [actsAsTouchpad](gamecontroller/gcvirtualcontroller/elementconfiguration/actsastouchpad.md)
