Skip to main content
TikTok Effect House Platform Logo
Latest
Download
Log in
Utility

Make Array

Make Array allows for multiple items (for example, numbers, colors, vectors, and so on) to be stored in a single array. Add an item by clicking + and remove it by right-clicking the input name and selecting Remove pin. All data types are supported: Number, Boolean, String, Rect, Vec2, Vec3, Vec4, Color, Texture2D, Scene Object, and Material.

Input

NameData typeDescription
Item 0AllThe first item in the array
Item 1AllThe second item in the array

Output

NameData typeDescription
New
type ArrayThe array containing all input items

Example

In this example, 5 Vec2 items have been stored in an array. Tapping the screen logs a random value from 0 to 4, in turn getting one of the items to be used for the image position.

makeArrayNode_LR.zip