Skip to content

Variable Manipulators

Variable Manipulators

Variable Manipulators are auxiliary methods that can be used on Variables to alter their value. They are leveraged by the Variable Manipulation command.

Note: Variable Manipulators offer more than mathematical functions, as they can do scene calculations (e.g. Screen to World), array operations (e.g. Pop From Array), and more.


Variable Manipulators


Absolute Value

Absolute Value manipulators apply the absolute value to the variable.


Arccosine

Arccosine manipulators calculate the arccosine of the specified value.

Properties

System

Name Explanation Type
Degrees Whether to use degrees. Toggle
Measurement The measurement to operate on. Variable or Value
Radians Whether to use radians. Toggle

Arcsine

Arcsine manipulators calculate the arcsine of the specified value.

Properties

System

Name Explanation Type
Degrees Whether to use degrees. Toggle
Measurement The measurement to operate on. Variable or Value
Radians Whether to use radians. Toggle

Arctangent

Arctangent manipulators calculate the arctangent of the specified value.

Properties

System

Name Explanation Type
Degrees Whether to use degrees. Toggle
Measurement The measurement to operate on. Variable or Value
Radians Whether to use radians. Toggle

Cast to Floating Point

Cast to Floating Point manipulators cast a variable to a floating point.


Cast to Integer

Cast to Integer manipulators cast a variable to an integer.


Ceiling

Ceiling manipulators round a variable up to the nearest integer.


Cosine

Cosine manipulators calculate the cosine of the specified value.

Properties

System

Name Explanation Type
Degrees Whether to use degrees. Toggle
Measurement The measurement to operate on. Variable or Value
Radians Whether to use radians. Toggle

Exponent

Exponent manipulators raise the variable to a specified power.

Properties

System

Name Explanation Type
Power The exponent to use on the variable. Variable or Value

Floor

Floor manipulators round a variable down to the nearest integer.


From Array

From Array manipulators join an array back into a string.

Note: The default Separator is a space.

Properties

System

Name Explanation Type
Separator The separator used to stitch the array into a string. Variable or Value

Length

Length manipulators calculate the length of the value in the variable.


Logarithm

Logarithm manipulators calculate the log value of the variable.

Properties

System

Name Explanation Type
Log Base The logarithmic base to use when calculating log values. Variable or Value

Lowercase

Lowercase manipulators convert a string to lowercase.


Pop

Pop manipulators remove the last character from a string.


Pop From Array

Pop From Array manipulators remove an element at a specified index from an array.

Properties

System

Name Explanation Type
Destination The destination to pop the value into. Variable or Value
Index The index in the array. Variable or Value

Push To Array

Push To Array manipulators insert a value into an array at a specified index.

Properties

System

Name Explanation Type
Index The index in the array. Variable or Value
Operand The value to push into the array. Variable or Value

Replace

Replace manipulators substitute matching text within a string.

Properties

System

Name Explanation Type
Replacement The replacement value. Variable or Value
Search The search value. Variable or Value

Round

Round manipulators round the variable to the specified number of digits.

Properties

System

Name Explanation Type
Digits The number of digits to round to. Variable or Value

Screen to World Coordinates

Screen to World Coordinates manipulators convert variables from screen space to world space.

Note: This has multiple inputs or outputs.

Properties

System

Name Explanation Type
Screen Depth The screen's depth-coordinate. Variable or Value
Screen X The screen's x-coordinate. Variable or Value
Screen Y The screen's y-coordinate. Variable or Value
World X The world's x-coordinate output. Variable
World Y The world's y-coordinate output. Variable
World Z The world's z-coordinate output. Variable

Sine

Sine manipulators calculate the sine of the specified value.

Properties

System

Name Explanation Type
Degrees Whether to use degrees. Toggle
Measurement The measurement to operate on. Variable or Value
Radians Whether to use radians. Toggle

Substring

Substring manipulators extract a portion of a string by index and length.

Properties

System

Name Explanation Type
Index The index to start the substring at. Variable or Value
Length The length of the substring to acquire. Variable or Value

Tangent

Tangent manipulators calculate the tangent of the specified value.

Properties

System

Name Explanation Type
Degrees Whether to use degrees. Toggle
Measurement The measurement to operate on. Variable or Value
Radians Whether to use radians. Toggle

To Array

To Array manipulators convert a string into an array of characters.


Trim

Trim manipulators remove whitespace from the beginning and end of a string.


Uppercase

Uppercase manipulators convert a string to uppercase.


World to Screen Coordinates

World to Screen Coordinates manipulators convert variables from world space to screen space.

Note: This has multiple inputs or outputs.

Properties

System

Name Explanation Type
Screen X The screen's x-coordinate output. Variable
Screen Y The screen's y-coordinate output. Variable
World X The world's x-coordinate. Variable or Value
World Y The world's y-coordinate. Variable or Value
World Z The world's z-coordinate. Variable or Value