---
agentTools:
  projectIndex: https://docs.rainway.com/llms.txt
---

# Web SDK - IPenAbsolute.rotation

[Home](https://docs.rainway.com/reference/about) > [@rainway/web](web-sdk) > [IPenAbsolute](./web-sdk-ipenabsolute) > [rotation](./web-sdk-ipenabsolute-rotation)

## IPenAbsolute.rotation property

A pointer orientation, with a value between 0 and 359, where 0 indicates a touch pointer aligned with the x-axis and pointing from left to right; increasing values indicate degrees of rotation in the clockwise direction.

This field defaults to 0 if the device does not report orientation.

<b>Signature:</b>

```typescript
readonly rotation: number;
```