Thank you very much its help me alot.
One another favor need from you if you could kindly help me with it that is:
How could i set the goal of 9 squares in a grid is to fill either a whole horizontal line, a whole vertical line, or one of the nine squares (I mean when 1 square is complete of blocks and it scores)` of a grid.
The horizontal line and vertical line are set already but the one square logic is not set.
Showing in image the one red highlighted square, if this one square is complete of given blocks so it scores and the blocks remove.
If you would like i will share you the capx file?