sm.cell.getInteractablesByAnyUuid

Returns a table of Interactables which matches any of the given Uuids for a cell coordinate.

Kind: Function

Environments: Game

Game

sm.cell.getInteractablesByAnyUuid( x, y, uuids )

Open the full Game reference

Availability: Server only

Note: Can only be used in a server_onCellLoaded callback.

Parameters:

Name Type Description
x integer The X-coordinate.
y integer The Y-coordinate.
uuids table A table {Uuid, ...} of uuids to match interactables against.

Returns:

Type Description
table A table {Interactable} of found interactables with matching uuid.