Shape.getNeighbours

Returns a table of shapes which are neighbours to the shape

Kind: Function

Environments: Game

Game

shape:getNeighbours(  )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
shape Shape The shape.

Returns:

Type Description
table table of shapes. {Shape, ..}