Search the Community
Showing results for tags 'getchildbyname'.
Found 2 results
how do you use getchild?Been working with Pixijs for a month of so now and haven't found a good way of identifying sprites or containers in other containers. How do you get or adjust sprites and containers within containers? I'm been looking at: .getChildbyName but what name? And .getChildAt but how do i identify it amongst many other objects that could be returned? is there a design pattern I'm missing here, or a built in id for each created sprite that I can use to lookup or a name that I can assign? Cheers.
getChildByName() in Phaser ?
spinnerbox posted a topic in Phaser 2I was wondering is there some function in Phaser that will return child of a graphics object by its name? I don't see one. But I see getChildAt() or getChildIndex().