What it does
game.find acts on game: it looks up. It takes nameOrId.
The API says: entity proxy or null
Signature
game.find(nameOrId)Arguments
nameOrId
Example · generated
function start() { game.find('main');}game.find 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.