Skip to main content
Vadym B.
Inspiring
Dec 8, 2025 9:37 AM UTC
Answered

Snap the Z anchor point of a 3D shape to another control

I want to snap the Z anchor point to the depth of the extrusion. That is, regardless of the depth of the 3D shape, the anchor point should always be in the center. I know this trick from another program. Is it possible to do this in AE?
With expressions and snapping, theoretically this can be done with the /2 command. That is, the depth is divided by 2, and we always get the center. That is what I wanted to do, but I can't separate the Z Y X into separate options to snap to another control.
Is there a solution? Thanks!
26.0.0 BETA

sskaz
sskazCorrect answer
Inspiring
Dec 11, 2025 2:44 PM UTC

You can’t separate the dimensions of the Anchor Point property like you can for Position, but you can still use an expression to re-center the anchor Z point based on the extrusion depth:

[value[0], value[1], geometryOption.extrusionDepth/2]

[edit: typo]

If you’re using the new parametric mesh shapes, the anchor point is already automatically centered.

2 replies

sskaz
sskazCorrect answer
Inspiring
Dec 11, 2025 2:44 PM UTC

You can’t separate the dimensions of the Anchor Point property like you can for Position, but you can still use an expression to re-center the anchor Z point based on the extrusion depth:

[value[0], value[1], geometryOption.extrusionDepth/2]

[edit: typo]

If you’re using the new parametric mesh shapes, the anchor point is already automatically centered.

Translate
Vadym B.
Vadym B.Author
Inspiring
Jan 24, 2026 6:49 AM UTC

Thanks, buddy! It works.

Translate