How to I make an ObjectThree locate itself between ObjectOne and ObjectTwo at all times?
I think you can position it at one.X - (one.X - two.X)/2 ; one.Y - (one.Y - two.Y)/2 … something like that
1 Like
Gruk was pretty much right. Just replace the - with + and you should be good.
(ObjectOne.X() + ObjectTwo.X()) / 2
on x axis
(ObjectOne.Y() + ObjectTwo.Y()) / 2
for Y
1 Like
Thanks.
This works
20morecharacterstomakethispostwork