Kaba function Layer.on_leave ed

Syntax ed

void Layer.on_leave()