(function () { this.preload = function (entityID) { }, this.collisionWithEntity = function (myID, otherID, collision) { print("Collision has occurred"); if (Entities.getEntityProperties(otherID, ['name']).name === "WatchCollider") { AudioDevice.toggleMute(); } } });