Workshop.codes
Create

Array Without Index Last updated April 20, 2025

Description

Returns a copy of a specified array with the element at a given zero-based index removed. All subsequent elements shift down by one position. The original array is not modified. Useful for removing a specific entry from a list without searching for its value, particularly when the index is already known.

Snippet

Array Without Index(Global.PlayerQueue, 0);

Properties

Returns: Array
Parameters: Array, Index

Array
Type: Array, Default: Empty Array
The source array from which an element will be removed.

Index
Type: Number, Default: 0
The zero-based index of the element to remove. Out-of-range indices return the original array unchanged.

Workshop.codes