
Advanced Property Randomizer is an Adobe After Effects script that applies randomized values to selected properties in the active composition. It supports relative randomization, which adds a random offset to the current value, and absolute randomization, which assigns a random value from a specified range. For supported 2D and 3D properties, you can choose which axes are affected, making it useful for quickly creating varied positions, scales, rotations, color values, and other numeric property settings without adjusting every value manually.
.jsx) scripts.Advanced_Property_Randomizer_ScriptDigger.jsx to a folder you
can easily access..jsx file and click Open..jsx file into the appropriate After Effects Scripts
folder. The exact path depends on your operating system and After
Effects version.Scripts/ScriptUI Panels folder
instead, if supported by your installation.Note: The script uses ScriptUI and ExtendScript. Availability and behavior can vary by After Effects version and operating system.
Choose how the script calculates the randomized value.
Relative mode is selected by default.
Example: If a numeric property currently has a value of 100 and
the range is -20 to 20: - In Relative mode, the result will be
between 80 and 120. - In Absolute mode, the result will be
between -20 and 20.
The Min and Max values define the random range. They can be negative or positive. If Min is greater than Max, the script swaps the values automatically.
Enter valid numeric values in both fields. The script displays a warning if either value is not numeric.
Use the checkboxes to choose which components can be randomized:
The checkboxes are enabled by default.
How the axes apply depends on the selected property’s value type:
Property type Components affected ———————————– ———————————– One-dimensional numeric property Uses the X checkbox as an enable/disable switch
Two-dimensional property X and Y checkboxes control the two components
Three-dimensional property X, Y, and Z checkboxes control the three components
Color property X, Y, and Z checkboxes control the red, green, and blue channels; alpha is preserved ———————————————————————–
For one-dimensional properties, the X checkbox does not mean that the property is literally an X coordinate; it simply acts as the first-component switch.
Click Randomize to apply the selected settings to the selected properties.
The script checks that: - An active composition is open. - At least one layer is selected. - At least one property is selected in the Timeline panel. - Min and Max contain valid numbers. - At least one axis checkbox is enabled.
If the selection is invalid, the script displays a warning instead of proceeding.
If a selected property already has keyframes, the script writes the randomized value at the composition’s current time. Depending on the property’s keyframe state and After Effects behavior, this can create a new keyframe or update the keyframe at that time.
If a selected property has no keyframes, the script sets its property value directly.
Important: The script does not randomize every existing keyframe individually. For a keyframed property, it applies the result at the current composition time.
For supported color properties, the script randomizes the red, green, and blue channels according to the selected component checkboxes. The alpha channel, when present, is preserved.
Color channels are constrained to the 0.0–1.0 range. In Absolute mode,
values above 1 are interpreted by the script as percentage-style input
and divided by 100; values below or equal to 1 are used directly.
For predictable results, use 0–100 for percentage-style RGB ranges or
0–1 for normalized ranges, and test the result on a sample property
first.
-50 and Max to 50.This adds an independently generated offset to the X and Y components.
Only the first component is changed; the second component remains unchanged.
The selected property receives a random value from the specified range. Consider the units and valid range of the property before applying values.
The script maps the three checkboxes to red, green, and blue. Alpha is not randomized.
Activate a composition in the Timeline or Composition panel and try again.
Select one or more layers in the active composition’s Timeline panel.
Expand the relevant layer and select the property rows you want to randomize, not only the layer name.
Make sure both fields contain valid numbers, such as -10, 0, 25,
or 0.5.
Enable at least one axis checkbox.
Confirm that the selected properties are supported numeric, 2D, 3D, or color properties and that the correct component checkbox is enabled.
The logo is intended to open ScriptDigger.github.io in the system’s default browser. If clicking it does not work in your environment, open the URL manually in a browser.
The ScriptDigger logo at the bottom of the panel links to the ScriptDigger website:
Advanced Property Randomizer
ScriptDigger — After Effects scripting tools