FoufaDjo
Member
i want to check what is the who is the nearest object between 1 & 2 to my object i though it will be like that but it didint work pls help uwu
if point_distance(x, y, o1.x, o1.y) < point_distance(x, y, o2.x, o2.y){
stuff;
}
if point_distance(x, y, o1.x, o1.y) < point_distance(x, y, o2.x, o2.y){
stuff;
}
Attachments
-
203 KB Views: 8