Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Does Illustrator keep track of the last selected element?

Contributor ,
Nov 24, 2025 Nov 24, 2025

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.

TOPICS
Feature request , How-to , Scripting
175
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 24, 2025 Nov 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.

Translate
Adobe
Community Expert ,
Nov 24, 2025 Nov 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?

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 24, 2025 Nov 24, 2025

yes 🤗

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 24, 2025 Nov 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 24, 2025 Nov 24, 2025

I think that when it comes to aligning and distributing, it just finds the position of the ones closest to the wanted side, rather than a reference object depending on what was selected last, no?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 24, 2025 Nov 24, 2025

How it aligns or distributes depends on the option selection in the lower-right section of the panel.

Choices are artboard, the selection "group", and the key object.

image.png

David Creamer: Community Expert (ACI and ACE 1995-2023)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 24, 2025 Nov 24, 2025
LATEST

cool. I usually use hotkeys to align and distribute so I often forget about such options 😅

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines