Phaser API Documentation

  Version: 

Member of: Phaser.Structs.List

setAll(property, value, [startIndex], [endIndex])

Description:

Sets the property key to the given value on all members of this List.

Parameters:

name type arguments description
property string

The name of the property to set.

value *

The value to set the property to.

startIndex number <optional>

The first child index to start the search from.

endIndex number <optional>

The last child index to search up until.

Since: 3.0.0
Source: src/structs/List.js (Line 634)