Storyboard.moveTo Method

Parent Object: Storyboard
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