AreaTrigger.getShapes

Gets the trigger collisions for shapes inside the area trigger

Kind: Function

Environments: Game

Game

areaTrigger:getShapes(  )

Open the full Game reference

Will only return one Shape for each Body that is colliding with the AreaTrigger.

Parameters:

Name Type Description
areaTrigger AreaTrigger The area trigger instance.

Returns:

Type Description
table A table of shape trigger collisions.