Web SDK - ITouchAbsolute.orientation

Home > @rainway/web > ITouchAbsolute > orientation

ITouchAbsolute.orientation 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.


readonly orientation: number;