Jump to content

API Panel.Position.Animate: Difference between revisions

From Flowcode Help
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable""
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Animate'''
| width="90%" class="mtx-class-macrohead" | '''Animate'''
|-
|-
| colspan="2" | Blends positions from two sources to a destination over time 
| colspan="2" | Blends positions from two sources to a destination over time 

Latest revision as of 14:11, 13 July 2026

Animate
Blends positions from two sources to a destination over time 
- HANDLE Dest
The position or component to update 
- HANDLE Start
The initial position of the animation 
- HANDLE End
The final position of the animation 
- UINT Millisecs
Time to take to perform the animation 
- NONE Return


Detailed description

This call animates between two objects, storing the result in a third Dest position. It performs the operation in the background over a specified time.

Interpolation from 0 to 1


The closely related Morph call performs this operation allowing for any point on the scale to be stepped to, but it must be called manually by the user to perform an animation.


Animations can be stopped using StopAnimate


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.Position.Animate(dest, start, end, millisecs)