I did some searching but at a guess my terminolgy / wording was off because I'm sure i've seen this referenced somewhere before:
Problem: All instances under the mouse click will run the related code.
What I am trying doing:
When mouse clicked on the tiled background object I set pathfinding into motion for some objects. (to the mouse X, Y) ...working just fine.
When I click on other objects they become moveable (drag and drop behaviour). ...working just fine.
What is happening:
When you click the object to move it, the call is also made for the pathfinding. The click on that part of the screen seems to call both the objects under the mouse at that time, I just want the top object to run it's code.
Thanks in advance. (also please advise if I provided too much info)