if (this.endPosition.y) {
            y = this.startPosition.y + translateFraction * (this.endPosition.y - this.startPosition.y);
        }