I wrote a free Illustrator script that lets you rotate objects around any X/Y point you type in, instead of eyeballing the centre point with the Rotate tool. It has live preview, units, and copy-and-repeat. Jump to the download.
I came up with it while designing a pattern for the lid of a wooden bench I’m building. I wanted a set of shapes rotated around one exact point, and I was frustrated by how little control Illustrator’s Rotate dialog gives you over that point. So, I asked Claude to write a small script, and a few rounds of tweaking later I had what I needed.
What it does
- Custom centre of rotation: type an X and Y, or use the “Selection centre” and “Artboard centre” buttons.
- Artboard or document coordinates: artboard mode matches the Transform panel (origin top-left, Y down).
- Units: pt, px, mm, cm, in or pica. It starts on your current ruler unit.
- Live preview: see the result before clicking OK.
- Copy and Repeat: make a set number of rotated copies in one go.
- Remembers your last settings: the dialog reopens with your last angle, repeat count and Copy setting. In the same document it also restores your centre point.
- Arrow keys: Up and Down nudge the angle, X, Y and Repeat fields. Hold Shift for bigger steps, Alt/Option for finer ones.

The Bench Design
For this design I used Copy and Repeat: 45° steps, repeated seven times, all around the same centre point. Doing that by hand with the Rotate tool would have taken forever, and the point would never have been exact.

I exported the design as an EPS file because VCarve doesn’t take .ai files, imported it into VCarve, and previewed the toolpaths:

I felt delighted as the CNC router carved my perfectly rotated design into the lid of the hallway bench:

The design’s visibility drastically improved after staining, though I’m not too happy with how the stain looks on the alder wood I’m using. I’d probably use more expensive wood next time.

Download
Get your copy from the GitHub gist. It’s free to use and modify. (There is an embedded copy of the code after the jump).
I’ve tested this on Illustrator 31.0 on macOS Golden Gate 27.2.1. The Windows path below hasn’t been tested. Scripts change your artwork, so save a copy of your file before trying it.
How to Install
- Download RotateAboutPoint.jsx from the gist. If you copied the text instead, save it in a plain text editor with the .jsx extension.
- Copy RotateAboutPoint.jsx to
/Applications/Adobe Illustrator 2026/Presets/en_US/Scripts/on Mac, orC:\Program Files\Adobe\Adobe Illustrator 2026\Presets\en_US\Scripts\on Windows. Adjust the folder name to match your version. - Restart Illustrator.
- Select your objects and run the script from
File > Scripts > RotateAboutPoint. You can also useFile > Scripts > Other Script…to run it from anywhere without installing it.
Limitations
- Cmd/Ctrl+D (Transform Again) won’t repeat these rotations, because Illustrator only tracks its own native transforms. Instead, the script reopens with your last angle, repeat count and Copy setting prefilled (and your centre point, in the same document). Those are saved to a file, so they survive restarting Illustrator. Rotations made with Illustrator’s own Rotate tool aren’t remembered.
- Cmd+Z may take more than one press to undo a rotation, because the preview and any copies can add several entries to the Undo history.
- The preview works by applying the rotation and then reversing it, so turn it off if a very complex selection feels slow.
The bigger lesson for me is that it’s worth asking an AI whether a custom script could fix a small annoyance in the software you already use. Be specific about what’s frustrating you, expect a few rounds of fixes (mine needed several, including a preview bug), and test on a copy of your file. I built this without a paid subscription. If you find a bug or have a suggestion, leave a comment here or on the gist.
