> For the complete documentation index, see [llms.txt](https://docs.candy-smith.com/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.candy-smith.com/main/sweet-candy-sugar-match-3/add-elements/adding-new-block.md).

# Adding new Block

1. Duplicate Blocks prefab and rename it<br>

   <figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXfZ31_QUdG6An53SfspEFy16-AZjNADyaPAhcNWuo4g3ihlZ3BfLzCGw6iRHfcHhy5I565_786Rp4S7oKFCdJyj0RELsS4WBMy_08_A2cCrhL6YGCQESTgIlVE403VCUUkDH0ZGAZxPFrz0Oxas4nsbVHo?key=DNdTmeWNBKtU0SEsz_zu5A" alt=""><figcaption></figcaption></figure>

2. Add a new SquareType element to the end of the array with the same name as the new Block<br>

   <figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXddMVetLWeAkQkGftddppQpeLee0ux3edNc6Zuc5dm8W0fYIYw9UngjgTCMd8DAjsmMpnpKwRmiEqIYwaR6AeMRdMsew9KpTuSNMkblGt3oRL5EddnRnZ5I1yagiAe_X416hCenrYAMtImzam7lZmlWyc0?key=DNdTmeWNBKtU0SEsz_zu5A" alt=""><figcaption></figcaption></figure>

3. Set type of this block\ <br>

   <figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXdW6fTDDoUqTB5jdTFZo3DUQewVuhtsPNNU5NMm0mDcZ8O2PC3GRH_xzcLuyBFzPaH7fhG3o4M-fByfOeKK3TzRrWnQZSJxIQjQtgt0HeZKf5H-tduPRrW-ACb_Zq35KXjKPJJmyX0ITCdRJ8FDTX5GbQ?key=DNdTmeWNBKtU0SEsz_zu5A" alt=""><figcaption></figcaption></figure>

4. Make sure new block has the same name as the new type\ <br>

   <figure><img src="/files/W78eE9ePXKNVvoaE6kBJ" alt=""><figcaption></figcaption></figure>
