The FadeFromTo Action Node.
The FadeFromTo Action Node continuously modifies the
Opacityof an Object over a specified period of time, thus creating an Animation. Both the initial and final values of the
Opacityare chosen by the user. Find an example of how to use this Node and its effect over an Object at the end of this page.
The FadeFromTo Action Node Attributes.
We use first a Get Opacity Node, which allows us to obtain an Object's current
Opacityvalue, and then the FadeFromTo Action Node, to which we will feed the value previously obtained and configure it for it to change it from there to a fixed value of our choosing.
For this purpose, we set the Attributes of the FadeFromTo Action Node in the following way:
We just leave the
FromAttribute as it is, since this value will be obtained through the corresponding Input Socket.
Then, we connect the Object ID from the white arc Object Node to the
Object IDInput Socket of both Nodes, the
OpacityOutput from the Get Opacity Node to the
FromInput Socket in the FadeFromTo Node, and a Pulse through the Get Opacity Node and to the
StartInput in FadeFromTo. Thus, having the following Logic configuration:
Finally, the effect of the FadeFromTo Action Node when triggered is the following: