Is it possible to make custom GameObject which can contain both rectangle and a text?

Hi there!

First of all Iā€™m very new in phaser so if I ask something lame just ignore me :smiley:

I would like to create a component which can keep a rectangle and a text together on top of each other and keep them together and add it to the scene.

Thanks in advance for your help!

1 Like

Thanks, it worked!