imgs = $world.submorphs.select(function(ea) { return ea instanceof lively.morphic.Image}) imgs.each(function(ea) { ea.applyStyle({borderWidth: 1, borderColor: Color.lightGray}) })