Interactive grid

Hi, I just started to learn Phaser. Before I never tried to create any games.
I need to make a table with which I could interact by clicking on it (click-add a picture to a cell), as if I play tic-tac-toe.
This is necessary so that the player can place obstacles for the game, thus editing the scene on his own.
In addition, I want to save the coordinates of the selected cell in Redux.
In order to save what the player created and start the game with obstacles such as he chose.
Could you please help me with it?
What do I need to use? How do I center the picture in the cell? How can I save the cell coordinate and then play the scene edited by the player?
Thanks a lot!

Would this help? Look at lines near 146 for a discussion of using “groups, containers, or just simple double loops”.

Hi, thanks :slight_smile:
Now I’m trying to use Grid class.
Maybe there is some solution for him?

From what I understand, the “grid class” creates only a “checker board”. I haven’t used it very much due to its limitations.