Let's say I want to move a shape with coordinates.
The end position is: -500 pixels. The start position is: 500 pixels.
Using a slider with a range of 1-100, I want to move the shape between the start and end position using percentage. When this percent value changes, I want to move the shape. 100% would place the shape at the end position, 0% would place the shape at the start position. Any percentage between would set the pixel value accordingly.
Letters below are variables.
A: -500
B: 500
C: Percentage value between (1-100).
D: (ANSWER)
I need a new value (D) to be the percentage value (C) between (A) & (B).
So if (C) was 50 - (D) would be value 0.
50% between A and B is 0.