Circle radius size change with movement of an another object


#1

Hi,

I m trying to increase a circle radius increase and decrease as another object moves along x-axis.

I m able to move the slider dot move along the x-axis with Dragged.

I have 2 squares on the slider line P1 and P2 based on which I m trying to find the location of the dot and set stage of the big circle (small/med/large).
image

Any help is appreciated.


#2

I think you need to toggle cases 2 and 3 to ‘If’ rather than ‘Else If’ (click the little > If top right of each case) as if they’re both Else If they’ll only run if the first case isn’t met.


#3

Why do you have to use those two squares?

Circle radius size change with movement of an another object.rp (599.3 KB)