Phaser API Documentation

  Version: 

Member of: Phaser.Structs.List

getAt(index)

Description:

Retrieves the item at a given position inside the List.

Parameters:

name type description
index number

The index of the item.

Returns:
Description:

The retrieved item, or undefined if it's outside the List's bounds.

Type:
  • *
Since: 3.0.0
Source: src/structs/List.js (Line 150)