Phaser API Documentation


Member of: Phaser.Structs.List

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


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


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 602)