let square= new Konva.Rect({
x:cur_x,
y:cur_y,
width:seg_size,
height:seg_size,
stroke:"black",
fill:"green",
name:"rect"
});
var s=stage.find(".rect");
s.on("click",()=>{
console.log(this.getClientRect().x)
});
TypeError: this.getClientRect is not a function.