• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

SOLVED collision_point(Acquisition order

ryu

Member
I want to select the upper object by clicking the overlapping part, but the lower object is selected

If you change the order of creating the instances, it will succeed, but is there any other way?

up.png
 

TsukaYuriko

☄️
Forum Staff
Moderator
Use collision_point_list to get all collisions.
Have a value in your instances that dictates their order. Set this to a steadily incrementing value to make the newest instances be on top of older instances.
Loop through all returned instances and take the one with the highest value.
 
Top