Square setup
A Square is a single cell of the Match-3 game field. Its Inspector settings define item movement, block behavior, destruction rules, visual layering, and teleport configuration.
Use EmptySquare for a regular playable cell without an obstacle.
To select a square prefab you can use right click on the element of the LevelEditor

General Settings

Size In Squares
Defines how many grid cells the object occupies.
1 x 1 — regular square
2 x 2, 2 x 3, etc. — multi-cell block
The value must match the visual size of the prefab.
FX Prefab
The visual effect played when the square or block is damaged or destroyed.
Leave empty if no effect is required.
Destroy Visual Mode
Destroy Visual Mode defines how a Sub Square looks when it is destroyed.
Square Behaviour
Square Behaviour controls how items interact with the square.
Position Behaviour
Field
Description
Can Move In
Allows items to enter the square.
Can Move Out
Allows items to leave the square.
Can Item Drag
Allows the occupying item to be dragged.
Above Item
Renders the square above the item.
Under Item
Renders the square below the item.
Destroy Behaviour
Field
Description
Cannot Be Destroyed
Makes the square indestructible.
Can Spread
Allows spread mechanics (for example, Jelly).
Destroy By Item Inside
The occupying item can damage the square.
Prevent Item Inside Destroy
Prevents the occupying item from being destroyed.
Destroy By Item Outside
Neighboring matches and bonuses can damage the square.
Prevent Item Matching
Prevents the occupying item from matching.
Prevent Item Targeting By Multicolor
Excludes the occupying item from multicolor targeting.
Sounds
Expand the Sounds section to configure audio effects.
Last updated