The Tint and Opacity action sets the tint color and/or opacity of the target object. It can also save the object’s current tint and opacity into variables. Tints and opacity can affect several different types of components, including images, text boxes, and paths. When an object has multiple components, all of them are changed.
Note that opacity and tint color can also be animated with an Animation component, or an Animate action.
Mode
Specifies whether to set tint and opacity values or read them. Options are:
- Set tint or opacity - Sets the tint and/or opacity of the target object
- Save tint or opacity to variables - Saves the current tint and/or opacity of the target object to variables
Target object
The object to tint or fade.
Tint
If checked, the tint color of the Target object is considered. Depending on the mode, it will either read or write the tint as the RGBA values specified below.
Red, Green, Blue, Alpha
The individual component of the tint color, from 0 to 1.0. In Save mode, specify variables in these fields to store the tint color of the object.
Opacity
If checked, the opacity of the Target object is set from the Opacity value, from 0 (invisible) to 1.0 (fully visible). Opacity fades the object as a whole, independent of its color.
Note that some components (e.g. Image) separate the alpha channel of the Tint Color from Opacity, so that both can be individually manipulated (in this case, opacity multiplies with tint color alpha). Other components (e.g. text boxes) consider tint alpha and opacity to be one and the same. This action handles both.