Guide
Guide
¶
A ruler guide used for alignment in a composition.
Guides are horizontal or vertical lines placed at specific pixel positions within a composition. They are visual aids and do not affect rendering.
Note
Guide class has no ExtendScript equivalent.
Example
Attributes¶
orientation_type
¶
orientation_type = enum(
GuideOrientationType, "_guide_item", "orientation_type"
)
The orientation of the guide. Read / Write.
position
¶
position = ChunkField[float](
"_guide_item", "position", validate=validate_f8
)
The position of the guide in pixels from the top (horizontal) or left (vertical) edge of the composition. Read / Write.
May be negative or fractional: guides sit anywhere on the ruler, and After Effects accepts both (probed on AE 2026, backed by a signed f8).