Parameter Types, States and Handling

What makes up a parameter

Parameters are everywhere in Autograph - on layers, Generators, and Modifiers.
At minimum, parameters contain:

The same line can also contain:

Parameters are displayed in both the Timeline and the Inspector:

These parameters are sometimes grouped into categories that are also parameters, but this is not necessarily the case.

In the image above:

Parameters that can be animated

In addition to its four main characterizing elements, a parameter can also have a button so it can be animated. Even if you are able to animate most parameters, some of them cannot be animated when it doesn't really make sense to.
If a parameter can be animated, there will be a square representing the keyframe menu next to the button for managing dimensions.

In the image below, the Amount parameter is animatable, while the Skew Order is not:

You can animate a parameter using keyframes but also by adding Generators and Modifiers.

Changing a parameter value

By clicking on a parameter value, you will enter an editing mode where you can modify it. The parameter background will become darker and its contents will be fully selected on the first click. To change the current value, simply enter a new value and confirm it with the enter key or by clicking outside of the parameter.
You can also press tab to edit the next parameter, or shift + tab to edit the previous parameter.
Autograph also offers other ways to modify the current parameter.

Clicking and dragging the mouse

Left-click on a parameter, then hold down the button and move the mouse left or right.

Using Keyboard Arrows:

In edit mode, use the left and right arrows on the keyboard to position the cursor on a specific digit.
Use the up and down arrows to increase or decrease the current digit by 1.0:

Using Keyboard Arrows with alt and shift keys in the Viewer

After positioning your cursor over the Viewer, press the alt key while using the keyboard arrows to move the selected layer(s) one pixel across the screen.
It's important to note that the distance covered each time an arrow is pressed depends on the Viewer's zoom ratio. When we talk about one pixel, we mean the pixels of your monitor - not those of your composition.

The video below shows these three cases (note the evolution of the Position parameter in the Timeline and Inspector):

If, in addition to pressing the alt key, you press the shift key, this relative displacement will be 10 pixels.
In the video below, we start by moving the layer by one pixel using the alt key, then 10 pixels by also pressing the shift keys.

Warning:

Remember that these shortcuts will only work if your mouse cursor is positioned over the Viewer.

Using Math operations:

In edit mode, the current value can be followed by a mathematical operation, such as addition or multiplication by another value.

More complex, multi-operand operations can be used, in particular through the use of parentheses:

Using Javascript functions

When editing a parameter, the entered value is read by a Javascript interpreter. This means that any Javascript function using the standard libraries and on a single line can be used.
For example, functions from the Math library:

Parameter precision level

Autograph always maintains the highest level of precision for each parameter, rather than rounding off values. Internally, up to 12 decimal digits are stored. However, to simplify parameter reading, a display value rounded to 2 decimal digits is displayed when the parameter is not in edit mode.
Just click on the value to see the full decimal digits. This precision is also maintained when tweaking a parameter, as shown below.

Edit several parameters at the same time

Several parameters of the same type can be edited at the same time, as described in the Properties section of the Inspector.

Color coding parameters

A parameter can contain:

Parameter content can be statically defined by the user, or controlled by keyframes, Generators, and Modifiers.
In all of these cases, the parameter value or background will change color.

When the parameter uses keyframes

You'll also notice that the diamond on the right is either hollow or solid, as described in more detail in the section on keyframes.

When a parameter is connected to a generator or linked to another parameter

The value set manually by the user is replaced by a new one. This value is then grayed out and the background becomes blue, like the color used to represent Generators in the Selection Overview.

In the case of a Link, a yellow outline is displayed around the connection slots, as described in this section.

When a modifier is added to a parameter

Its output value after the action of the Modifier(s) is displayed in yellow.

As the parameter remains editable, the background does not change color and the value is not grayed out. When you move the mouse close to the parameter, you see the value before the Modifier effect, drawn in white.

In the following example, a Math modifier in Add mode is added to a Position with its dimensions in Single mode. The added value is also displayed in the Properties.

When a parameter is shared

In the case of a Share, a purple outline is displayed around the connection slots, as described in this section.

Right mouse button options

Right-clicking on a parameter displays several options:

Visualize parameters with non-default values

The above menu contains the option Apply Default Value to reset a parameter to this value.

To quickly identify which parameters have been modified that have a value different from the default one, their names are displayed in a light blue color instead of white.

Note:

This color change takes place only in the Inspector and not in the Timeline.

Different parameter types

A parameter's value or status depends on the data type it can store. The list of available types in Autograph is visible when you add a custom composition parameter.

Exposing these parameters is very useful when creating stand-alone templates called Packages.

Warning:

Identifying a parameter type is essential when copying and pasting or linking and sharing parameters, as only parameters of the same type can be copied/pasted, or linked/shared.

Some of these parameter types have multiple values, such as Integer3D, Float3D or Rectangle. The managing dimensions section explains how to break down these compound parameters into several single parameters.