• Retrieves the y-coordinate of a given Point.

    Parameters

    • pt: Point

    Returns number

    y-coordinate of the Point

    Example

    const point = make_color_point(1, 2, 3, 50, 100, 150);
    y_of(point); // Returns 2