Search the Community
Showing results for tags 'getchildbyname'.
-
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.
- 11 replies
-
- pixi5
- getchildbyname
-
(and 2 more)
Tagged with:
-
I 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().
