/
setPosition

setPosition

Description

Use setPosition to set the translation of a module in relative or world space coordinates.

setPosition modifies the keys of the current frame. If no animation data exists when setPosition is run, it creates a key.

Functional area

Data manipulators

Command syntax

Syntax

setPosition "moduleName" posVec [-ws] [-preTrans] [-default]

Arguments

NameTypeRequiredComments
posVec

The vector data to apply
moduleName

Name of the module you want to modify

Flags

NameFlag argumentsArgument typeExclusive toComments
ws0PosVector data is applied in world space coordinates
preTrans0default
default0preTrans

Return value

void

Examples

//Create a marker and set its position
create Marker "marker1"; 
setPosition marker1 <<100, 0, 0>>;

Additional information

Related commands