Mouse interaction - method to avoid moving component pivot to mouse trace hit?

Hi Kehel, thanks for the response. I will show two images. The first shows the portion of the code that is working. Then I will show that portion of the code I’ve been working on.