What it does
scene.enableCollisions enables Collisions on a scene object. It takes bool.
Signature
scene.enableCollisions(bool)Arguments
bool
Example · generated
function start() { scene.enableCollisions(true);}scene.enableCollisions 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.