sm.cell.getNodesByTags

Returns a table of nodes which contain all of the given tags for a cell coordinate.

Kind: Function

Environments: Game

Game

sm.cell.getNodesByTags( x, y, tags, world )

Open the full Game reference

Parameters:

Name Type Description
x integer X-coordinate.
y integer Y-coordinate.
tags table A table {string, ...} of tags to match with.
world (optional) world The world we are searching in (Optional, defaults to current world)

Returns:

Type Description
table Table containing { position = Vec3, rotation = Quat, scale = Vec3, tags = {string, ...}, params = table } for each node.