
In your case, you could check if the middle part’s position and see if it is closer to the left part or the right part’s position.
2 Likes

In your case, you could check if the middle part’s position and see if it is closer to the left part or the right part’s position.