Get Item from Array
![get item from array](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/get_item_from_array-3f4fbb68b1f37ca2d2bf33bb315fe654.png)
Get a specific item from an array. All data types are supported: Number, Boolean, String, Rect, Vec2, Vec3, Vec4, Color, and Texture2D.
Input
Name | Data Type | Description |
---|---|---|
Index | Number | The index of the item location in the array. The first item is 0. |
type Array | The array to get the item from. |
Output
Name | Data Type | Description |
---|---|---|
Item | Number | The item in the input array according to the index position. |
Example
Check out Face Info to see how to use Get Item from Array.