Skip to content

Documentation / @debuffjp/tilemap / overlapsSolid

Function: overlapsSolid() ​

overlapsSolid(map, body): boolean

Defined in: collide.ts:117

True if a body overlaps any solid tile (e.g. to check whether it can stand up).

Parameters ​

map ​

Tilemap

body ​

Body

Returns ​

boolean