incrementally move rectangle across screen as variable changes

Hey guys, learned a lot from the forum this morning about move and animation paths. I'm able to make a dial continuously spin, etc.

However, what I wanted to discover was a method for moving a rectangle incrementally across the screen in response to a variable change.

For test purposes, I'm wanting to adjust that variable with a dial or slider.

So, in my mind, the rectangle would start on the far left and advance one interval as the variable increases, and move back one variable as the variable decreases.

Possible? thoughts?

3 Replies