Control:GetN

Last updated 5 August 2026

Control:GetN lets you access single elements of a Pack / Samples via index or name input.

It also returns the size/samples of the Pack/Samples.

Pin Info

Input 1: Index [Int]

Input 1: Name [String]

Input 1: GetSize [Bang]

Input 2: Pack [Pack]

Input 2: Samples [Samples]

1-Index[Int]: Defines the Index of the referenced element, starts with 0.

1-Name*[String]: Defines the title of the element accessed by the Node**.

1-GetSize[Bang]: Emits the amount of elements in thereferenced container.

2-Pack[Pack]: Finds the selected Index/Name in the Packand emits it if found.

2-Samples[Samples]: Emits the selected Index(sample) as a Float value.

Output 1: Output [BitMatrix, Float, Int, ResourceId, Samples, String, Timestamp, Pack]

Output 2: Size [Int]

Output 3: Finished [Bang]

1-Output[All]: Emits content if selected Element is this Datatype.

1-Output[Pack]: Emits if the input pack has another Pack within it,only works with TopLevel or Recursive Indexing mode.

2-Size[Int]: Emits the Size of a Pack or the amount of samples.

3-Finished[Bang]: Emits a Bang after the last element of the Pack was emitted.Only works with Pack -1 mode (emit all Elements).

Node Parameters

Index: Defines what element of the Pack/Samples container is referenced. special behaviour when entering -1 emits all elements.

Name: *Defines what Title to look for in a Pack.

Indexing: *Defines how a Pack is read, this also influences how the size of Packs is calculated (disabled on Samples buffer).

Expand: Match: Switches Match mode between index and Name. Buffered: Shows what type of Container is buffered at the moment. Size: Shows the size of the currently buffered Container.