Storyboard.moveComponent Method

Parent Object: Storyboard

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


Defined in namespace "adsk::fusion" and the header file is <Fusion/Animation/Storyboard.h>

Description

Method that moves an AnimationComponent by a specified translation vector.

Syntax

"storyboard_var" is a variable referencing a Storyboard object.

# Uses no optional arguments.
returnValue = storyboard_var.moveComponent(component, translation, startTime, endTime)

# Uses optional arguments.
returnValue = storyboard_var.moveComponent(component, translation, startTime, endTime, isTrailLineVisible)
"storyboard_var" is a variable referencing a Storyboard object.

#include <Fusion/Animation/Storyboard.h>

// Uses no optional arguments.
returnValue = storyboard_var->moveComponent(component, translation, startTime, endTime);

// Uses optional arguments.
returnValue = storyboard_var->moveComponent(component, translation, startTime, endTime, isTrailLineVisible);
"storyboard_var" is a variable referencing a Storyboard object.

// Uses no optional arguments.
returnValue = storyboard_var.moveComponent(component, translation, startTime, endTime);

// Uses Optional arguments.
returnValue = storyboard_var.moveComponent(component, translation, startTime, endTime, isTrailLineVisible);

Return Value

Type Description
AnimationMoveAction Returns the AnimationMoveAction object that was generated by the movement if the animation component was successfully moved, null otherwise.

Parameters

Name Type Description
component AnimationComponent Specifies the AnimationComponent to move.
translation Vector3D Specifies the translation vector.
startTime double Specifies the start time of the movement.
endTime double Specifies the end time of the movement.
isTrailLineVisible boolean Optional specifies boolean indicating whether the trail line should be visible or not.

This is an optional argument whose default value is False.

Version

Introduced in version November 2026