What it does
game.checkCollision takes otherId.
The API says: 1/0
Signature
game.checkCollision(otherId)Arguments
otherId
Example · generated
function start() { game.checkCollision('main');}game.checkCollision is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.