mouseX = 0;
    interactionArea : Laya.Sprite;
    constructor()
    {
        super();
        this.guaSpr.cacheAs = “bitmap”;
        this.BG.on(Laya.Event.MOUSE_MOVE, this, this.onMouseMove);
        this.interactionArea = new Laya.Sprite();
        this.interactionArea.blendMode = “destination-out”;
        this.BG.addChild(this.interactionArea);
        this.interactionArea.graphics.clear();
   }
    onMouseMove():void
    {
        if(this.mouseX!=0)
        {
           if(Math.abs(this.mouseX-this.BG.mouseX)>= 360)
           {
              //滑动超过多少距离 自动开奖
              this.BG.visible = false;
              this.mouseX = this.BG.mouseX;
           }
        }
        else
        {
           this.mouseX = this.BG.mouseX;
        }
       this.interactionArea.graphics.drawCircle(this.BG.mouseX, this.BG.mouseY, 15, “#000000”);
    }