Skip to content

Get Child At Index Node

UI/Elements/Containers

Get Child At Index

Gets a child element at a specific index from a container

a2ui_get_child_at_indexstd
Inputs2
Outputs3
Security exposure10/10
Packagestd

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

No score metadata has been set for this node yet.

Input Pins

2

Container

String
container_ref

Reference to the container element

Index

Integer
index

The index of the child to get (0-based)

Output Pins

3

Child

Struct
child

The child element at the specified index

A2UIElementA2UIElement5 fields
idstringrequired

Unique identifier for this element

styleanyOf (2)

Optional style configuration

variant 1Stylevariant

Complete style definition

classNamestring | null
backgroundanyOf (2)
variant 1Backgroundvariant

Background type

variant 2nullvariant
borderanyOf (2)
variant 1Bordervariant

Border styling

variant 2nullvariant
shadowanyOf (2)
variant 1Shadowvariant

Shadow styling

variant 2nullvariant
paddinganyOf (2)
variant 1Spacingvariant

Spacing (padding/margin) - accepts both "20px" and { "value": "20px" }

variant 2nullvariant
+18 more fields
variant 2nullvariant
childrenanyOf (2)

Child component references

variant 1Childrenvariant

Children definition - explicit list or template

variant 1objectvariant
explicitListArray<string>required
variant 2objectvariant
templateobjectrequired
variant 2nullvariant
actionsarray | null

Actions that can be triggered on this component

itemsActionarray item

Action definition for user interactions

namestringrequired
contextMap<string, BoundValue>
default {}
*BoundValuemap value

Represents a value that can be either a literal or a data path binding

targetSurfaceIdstring | null
__element_idstring | null

Internal element ID for workflow operations (added at runtime)

Child ID

String
child_id

The ID of the child element

Found

Boolean
found

Whether a child was found at the index

Node Info

Internal name
a2ui_get_child_at_index
Category
UI/Elements/Containers