Skip to main content
Flowgun
Inspiring
November 24, 2025
Answered

Does Illustrator keep track of the last selected element?

  • November 24, 2025
  • 1 reply
  • 344 views

Well, I've been using Illustrator long enough to know that the answer is probably no. There are probably ways to write a script that keeps track of elements in a variable, but that's not the answer. that's why I'm also flagging it as a Feature request.

It just accured to me that in software like blender, there's a difference between selected elements and "Active Element", which is the last-selected element. That allows operations to happen clearly between selected elements and the active element: e.g: booleans (pathfinder), style and material transfer...
Currently, Illustrator sorts such operations by what's on top and what's at the bottom, which is not as intuitive. if I want to subtract shapes (A) from another shape B, it would be easier to select the shapes (A), then select the shape B last, and execute an operation. That's a lot more intuitive than having to sort shape B correctly, select all the elements, then choose the right operation (minus front/minus back...). 

If Illustrator keeps track of the last-selected element, then I guess writing scripts that do such things would be relatively possible.

Correct answer Kurt Gold

Illustrator has the capability to set a key object when aligning and distributing objects.

 

Unfortunately, there is no equivalent for Pathfinder operations currently.

1 reply

Kurt Gold
Community Expert
Community Expert
November 24, 2025

You can select your objects and then click on the object you want to define as the reference object.

 

Is that what you are looking for?

 

Flowgun
FlowgunAuthor
Inspiring
November 24, 2025

yes 🤗

Kurt Gold
Community Expert
Kurt GoldCommunity ExpertCorrect answer
Community Expert
November 24, 2025

Illustrator has the capability to set a key object when aligning and distributing objects.

 

Unfortunately, there is no equivalent for Pathfinder operations currently.