with numbers

This block is part of the array group and was last modified in core v12.0.6.

with numbers v12.0.6

Returns an array of numbers.

In pins 2
  • number
    number

    First number to include in the array.

  • number
    number

    Second number to include in the array.

Out pins 1
  • array
    array<number>

    The array with numbers output.

Collects the wired number pins into an array, keeping only actual finite numbers - numeric strings and booleans are NOT coerced and are dropped, as are null, NaN and Infinity, so the output can have fewer entries than wired pins.

of
with

A typical wiring for with numbers: number feeds the number_1 pin; min feeds the number_2 pin; the array out pin feeds max.

Studio canvas example for the with numbers block: typical wiring for with numbers.

Commonly used with

In production blueprints, this block is most often wired together with:

  • min: wired in both directions with this block. Returns the lowest number in the given array of numbers.
  • number: feeds into this block. Generates a valid number from the filled custom value in the blueprint.
  • max: this block feeds into it. Returns the highest number in the given array of numbers.
  • custom field: feeds into this block. get the value of a custom field with a custom value block, or dynamic value.

Version history

Introduced in v12.0.6.


Back to array Return to the main group to view all sub-groups Back to array Return to the group to view all blocks within this group