There is a problem with the way Extendscript handles moving of groups in Illustrator. If a group has a transparency mask locked to it, the mask will not move with the group when the group is moved via the `Group.translate()` method (the different boolean options have no effect whatsoever on the raster transparency mask) or by setting the group's `top` and `left` object properties. When the mask is locked to the group in the Transparency window in the UI, it will move with the group when moved via any of the UI methods of moving (click and drag, or Object > Transform > Move). However, when the group is moved with Extendscript, it behaves as if the transparency mask is unlocked, regardless of whether it actually is or not. I've attached screenshots showing the before and after of the move attempted with Extendscript. The transparency mask is clearly locked to the group, but the move only changes the position of the group itself, not the transparency mask attached to it. This issue appears regardless of the number of objects in the transparency mask, regardless of whether the objects are vector or raster, and regardless of whether the objects in the mask are grouped to one another.
Illustrator 29.5.1 (64-bit)
Windows 11 Enterprise (version: 24H2, OS build: 26100.3775, experience: Windows Feature Experience Pack 1000.26100.66.0)
There is a problem with the way Extendscript handles moving of groups in Illustrator. If a group has a transparency mask locked to it, the mask will not move with the group when the group is moved via the `Group.translate()` method (the different boolean options have no effect whatsoever on the raster transparency mask) or by setting the group's `top` and `left` object properties. When the mask is locked to the group in the Transparency window in the UI, it will move with the group when moved via any of the UI methods of moving (click and drag, or Object > Transform > Move). However, when the group is moved with Extendscript, it behaves as if the transparency mask is unlocked, regardless of whether it actually is or not. I've attached screenshots showing the before and after of the move attempted with Extendscript. The transparency mask is clearly locked to the group, but the move only changes the position of the group itself, not the transparency mask attached to it. This issue appears regardless of the number of objects in the transparency mask, regardless of whether the objects are vector or raster, and regardless of whether the objects in the mask are grouped to one another.
Illustrator 29.5.1 (64-bit)
Windows 11 Enterprise (version: 24H2, OS build: 26100.3775, experience: Windows Feature Experience Pack 1000.26100.66.0)