var bx = scene.getBoxById("customBox"); var titleBx = scene.getBoxById("custTitleBox"); if (bx && titleBx && bx.dragged) { titleBx.label = "Drag Operation In Progress..."; }