Storyboard.moveTo 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 the storyboard to another position.

Syntax

"storyboard_var" is a variable referencing a Storyboard object.

# Uses no optional arguments.
returnValue = storyboard_var.moveTo(targetStoryboard)

# Uses optional arguments.
returnValue = storyboard_var.moveTo(targetStoryboard, before)
"storyboard_var" is a variable referencing a Storyboard object.

#include <Fusion/Animation/Storyboard.h>

// Uses no optional arguments.
returnValue = storyboard_var->moveTo(targetStoryboard);

// Uses optional arguments.
returnValue = storyboard_var->moveTo(targetStoryboard, before);
"storyboard_var" is a variable referencing a Storyboard object.

// Uses no optional arguments.
returnValue = storyboard_var.moveTo(targetStoryboard);

// Uses Optional arguments.
returnValue = storyboard_var.moveTo(targetStoryboard, before);

Return Value

Type Description
boolean Returns true if the move is successful.

Parameters

Name Type Description
targetStoryboard Storyboard Specifies the target storyboard to move this storyboard next to.
before boolean Optional specifies boolean value that indicates whether to move this storyboard before the target storyboard. If specified to true, this storyboard will be moved before the target storyboard. This defaults to false if not specified indicating this storyboard will be moved after the target storyboard.

This is an optional argument whose default value is False.

Version

Introduced in version May 2026