add to state array

This block is part of the state ui group and was last modified in core v10.4.28.

Type Selection Required

This block requires you to select the data type you want to work with. You must manually select the type using the type selector modal. To access the modal, click the white button on the block.

Field Selection Required

This block requires field selection (in). You must manually select the fields you want to work with using the field selector modal. To access the modal, click the white button on the block.

add to state array v10.4.28

Adds given value to the array on the frontend and triggers updates based of it.

In pins 1 + flow
  • flow
    flow
  • state key required
    value

    State key to update

Out pins 0 + flow
  • flow
    flow

A typical wiring for add to state array: a function trigger starts the flow; value feeds the key pin; the flow out pin feeds debug.

Studio canvas example for the add to state array block: typical wiring for add to state array.

Version history

Introduced in v10.4.28.


Back to state ui Return to the main group to view all sub-groups Back to state actions Return to the group to view all blocks within this group