getByName(name) → {any}
Searches the Group for the first instance of a child with the nameproperty matching the given argument. Should more than one child havethe same name only the first instance is returned.
Parameters
Name Type Description name string The name to search for.
Returns
any - The first child with a matching name, or null if none were found.
Inherited From Phaser.Group#getByName Source code: core/Group.js (Line 1042)