sm.cell.getNodesByTag
Returns a table of nodes which contains the given tag for a cell coordinate.
Kind: Function
Environments: Game
Game
sm.cell.getNodesByTag( x, y, tag, world )
Parameters:
| Name | Type | Description |
|---|---|---|
x |
integer | X-coordinate. |
y |
integer | Y-coordinate. |
tag |
string | Tag to match with. |
world (optional) |
world | The world we are searching in. (Optional, defaults to current world) |
Returns: