How to drag(same element) and drop(for each sotuation) complexly?

I am trying to drag an element to the form and make it as much as the green one.
There’re about 600 cases i have to do that,and for each case, there time is different,
how i can make sure for each case the element can as much as green one?
.


Here are some samples of situation(i counted, about 243combines…)
And the code of that form, it seems like the Subroutine inside the Web.
time_change_code.txt (5.2 KB)

Here is the sample and video look like it done
(I can only do the most original one :rofl:)