Detecting increasing and decreasing values in a dial and changing state of object.

Hi everyone, I have a custom dial which is a wheel. I can click/drag to rotate it from 0 to 100% clockwise and back to 0% counterclockwise.

I have a text object that changes state from "opening" (value increase) if i'm turning clockwise and "closing" (value decrease) when turning counter clockwise.

How do I detect the changes in the values of the dial (0-100) and change state of an object according the increasing or decreasing value?

2 Replies