# Detecting rotation direction

**URL:** <https://forum.kirupa.com/t/detecting-rotation-direction/245584>\
**Category:** Uncategorized\
**Created:** [December 1, 2007, 7:51am UTC](https://forum.kirupa.com/t/detecting-rotation-direction/245584 "2007-12-01T07:51:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![b\_rich](https://avatars.discourse-cdn.com/v4/letter/b/53a042/32.png) [@b\_rich](https://forum.kirupa.com/u/b_rich)\
**Post date:** [December 1, 2007, 7:51am UTC](https://forum.kirupa.com/t/detecting-rotation-direction/245584/1 "2007-12-01T07:51:42Z")

</div>

Is there a way in actionscript to determine if something is rotating CW or CCW? I created a knob in Flash but i’m stuck on how to tell which way the user is dragging it?
