Flexalon Cell controls where a child appears in a Grid or Table. Add it when an item needs a specific location, spans multiple cells, or overlaps another item. Coordinates are zero-based and use column, row, layer order.
| Option | Behavior |
|---|---|
| Specify Placement | Start placement at the chosen Column, Row, and Layer. Without overlap, occupied cells are skipped and spans can wrap at the column boundary. |
| Column / Row / Layer Span | How many cells the item occupies on each axis. Automatic placement searches for room for the entire span. |
| Overlap Cells | Allow specified placement over occupied cells and leave this item's cells available to following children, such as a badge or highlight on top of another item. Automatic placement still searches for free space. |
| Capture Current Cell | Save the item's current automatic placement and enable Specify Placement. Useful when inventory items should stay put as other items move. |
For example, set Column Span to 2 for a wide inventory item. Leave Specify Placement off to find room automatically, or enable it to start searching at a particular cell.
Existing Flexalon Grid Cell components still work. Use Flexalon Cell for new objects. Disabling a cell component removes its placement settings until it is enabled again.
Use Flexalon Row to keep a set of items together in their own row, while still lining up with the table's columns. For example, in a scoreboard each player can be one GameObject with name, score, and avatar children.
A group always spans every column. If its items need more than one row, the group grows to fit them. To choose which row the group starts on, add a Flexalon Cell to the group itself; its column and span settings are ignored. Padding and margins on the group are also ignored.
Grid and Table layouts can tell you which cell is under a point. Use TryGetCellAtWorldPoint with a world-space position, such as a raycast hit. To find which items occupy a set of cells, use GetChildrenInSpan. Results reflect the most recent layout update.
For interactive placement and swapping, see slot-based drag and drop.