Workshop.codes
Create

Array Index Of Min Last updated May 09, 2025

Description

Returns the zero-based index of the element with the smallest numeric value in a specified array. If multiple elements share the minimum value, the index of the first occurrence is returned. Useful for identifying the lowest-scoring player, the least charged ability slot, or the earliest expiring timer in a set.

Snippet

Array Index Of Min(Global.ScoreArray);

Properties

Returns: Number
Parameters: Array

Array
Type: Array, Default: Empty Array
The array in which the index of the minimum value will be located.

Workshop.codes