You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fbe5b28
Browse filesBrowse the repository at this point in the historyBrowse files
This functionality was added in After Effects (Beta) 26.0 and is subject to change while it remains in Beta.
469
+
470
+
#### Description
471
+
472
+
An array of all item strings in a dropdown menu property. This attribute applies to dropdown menu properties of effects and layers, including custom strings in the Menu property of the Dropdown Menu Control.
473
+
474
+
This property corresponds to [Property.setPropertyParameters()](#propertysetpropertyparameters), acting as the getter for the strings in a dropdown menu.
475
+
476
+
#### Examples
477
+
478
+
```javascript
479
+
// Get all options from a Dropdown Menu Control
480
+
var comp =app.project.activeItem;
481
+
if (comp &&comp.selectedLayers.length>0) {
482
+
var lyr =comp.selectedLayers[0];
483
+
var fx =lyr.property("ADBE Effect Parade").property("Dropdown Menu Control");
484
+
var menuProp =fx.property("Menu");
485
+
var options =menuProp.propertyParameters; // Array of strings
This functionality was added in After Effects (Beta) 26.0 and is subject to change while it remains in Beta.
617
+
618
+
#### Description
619
+
620
+
The text string of the currently-selected item in a dropdown menu property. This attribute applies to dropdown menu properties of effects and layers, including custom strings in the Menu property of Dropdown Menu Controls.
621
+
622
+
#### Examples
623
+
624
+
```javascript
625
+
// Get the currently-selected text string from a Dropdown Menu Control
626
+
var comp =app.project.activeItem;
627
+
if (comp &&comp.selectedLayers.length>0) {
628
+
var lyr =comp.selectedLayers[0];
629
+
var fx =lyr.property("ADBE Effect Parade").property("Dropdown Menu Control");
630
+
var menuProp =fx.property("Menu");
631
+
var selectedText =menuProp.valueText; // e.g., "Sunday"
This functionality was added in After Effects (Beta) 26.0 and is subject to change while it remains in Beta.
138
+
139
+
#### Description
140
+
141
+
Creates and returns a Property object for a variable font axis, and adds it to this property group. This method can only be called on the "ADBE Text Animator Properties" property group within a text animator.
142
+
143
+
Common axis tags include (but are not limited to):
144
+
145
+
-`"wght"` - Weight (100-900 typical range)
146
+
-`"wdth"` - Width (percentage of normal width)
147
+
-`"slnt"` - Slant (angle in degrees)
148
+
-`"ital"` - Italic (0-1 range)
149
+
-`"opsz"` - Optical Size (point size)
150
+
151
+
Fonts may also include custom axes with 4-character uppercase tags (e.g., `"INFM"` for Informality).
152
+
153
+
#### Variable Font Spacing
154
+
155
+
When animating Variable Font axes, individual characters can change width. The Variable Font Spacing property (found in the "More Options" section of a text animator) controls how After Effects handles character spacing compensation for these width changes.
156
+
157
+
The Variable Font Spacing property can be accessed via its matchName `"ADBE Text Variable Font Spacing"` and is a dropdown control property. This property appears only when at least one variable font axis is active in the animator.
158
+
159
+
160
+
!!! tip
161
+
Axes must exist on the font to have any impact. To discover what axes a font supports, use [FontObject.designAxesData](../text/fontobject.md#fontobjectdesignaxesdata).
0 commit comments