//This example uses the ShapeSelectionChanged event. var shape = sheet.shapes.add("myShape", GC.Spread.Sheets.Shapes.AutoShapeType.diamond, 0, 90, 200, 200); activeSheet.bind(GC.Spread.Sheets.Events.ShapeSelectionChanged, function (e, info) { console.log("event info: " + info); });