---
title: cp_drawable_get_device_anchor
framework: compositorservices
role: symbol
role_heading: Function
path: compositorservices/cp_drawable_get_device_anchor
---

# cp_drawable_get_device_anchor

Returns the position and orientation you specified for the frame.

## Declaration

```occ
ar_device_anchor_tcp_drawable_get_device_anchor(cp_drawable_t drawable);
```

## Parameters

- `drawable`: The drawable for a frame.

## Return Value

Return Value The current position and orientation for the frame, or nil if you didn’t specify this information.

## See Also

### Accessing the device orientation

- [cp_drawable_set_device_anchor](compositorservices/cp_drawable_set_device_anchor.md)
