Skip to main content
Version: 4.3.0

Get Item from Array

get item from array

Get a specific item from an array. All data types are supported: Number, Boolean, String, Rect, Vec2, Vec3, Vec4, Color, and Texture2D.

Input

NameData TypeDescription
IndexNumberThe index of the item location in the array. The first item is 0.
type ArrayThe array to get the item from.

Output

NameData TypeDescription
ItemNumberThe item in the input array according to the index position.

Example

Check out Face Info to see how to use Get Item from Array.