Skip to main content

List Remove Item

Runs on: Shared — pure logic, runs on the Community backend or inside a chatbox overlay.

The List Remove Item node takes a list and an index, removes the item at that position, and outputs a new list with everything else intact. The original list is not modified — a fresh copy is produced with the specified item filtered out. All items after the removed position shift down by one. A negative or out-of-range index leaves the list unchanged.

This pairs naturally with List Get Item and List Find when you need to pick a winner from a giveaway pool, process items one at a time from a queue, or let a viewer opt out of a rotation.

Inputs​

NameTypeDescription
listlistThe list to remove from.
indexnumberThe zero-based position of the item to remove, counted from whichever end From picks. 0 removes the first item (or last, with From set to End), 1 removes the second, and so on.

Outputs​

NameTypeDescription
resultlistA new list with the item at the given index removed. The output list type matches the input list type.

Configuration​

  • From: Start (default) or End — which end the index counts from. With End, index 0 removes the last item, matching the behavior of every saved node from before this option existed.

Example​

When you draw a giveaway winner, use List Get Item with a random index to pick the winner's name, announce it in chat, then immediately wire the same index and the entries list into List Remove Item. Store the result back as your entries list so the same person cannot win twice if you draw again.