Container
Every FComponent
in @fibbojs/2d
has a __CONTAINER__
attribute that corresponds to the PixiJS Container that will be used to render the component.
This is either a Graphics (for rectangles, circles,...) or a Sprite (basically an image) depending on the component.
Unless you have a good reason to do so, you should not modify the __CONTAINER__
attribute directly, but use the provided methods instead.