if ([origins.bottomLeft, origins.bottomCenter, origins.bottomRight].includes(origin)) {
                position.y = -this.height;
            }
            else if ([origins.centerLeft, origins.center, origins.centerRight].includes(origin)) {
                position.y = -this.height / 2;