var list = scene.getBoxById("myList"); if (list) { var sel = list.selection; if (sel) { sel.clear; } }