# constructJubjubPoint

> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

[**@midnight-ntwrk/compact-runtime v0.21.0**](https://docs.midnight.network/api-reference/compact-runtime.md)

***

[@midnight-ntwrk/compact-runtime](https://docs.midnight.network/api-reference/compact-runtime/globals.md) / constructJubjubPoint

# Function: constructJubjubPoint()

```
function constructJubjubPoint(x, y): JubjubPoint;
```

The Compact builtin `constructJubjubPoint` function

This function constructs a Compact `JubjubPoint` from the x- and y-coordinates. NOTE that it does not check that the coordinates represent a valid point on the Jubjub curve.

## Parameters[​](#parameters "Direct link to Parameters")

### x[​](#x "Direct link to x")

`bigint`

### y[​](#y "Direct link to y")

`bigint`

## Returns[​](#returns "Direct link to Returns")

[`JubjubPoint`](https://docs.midnight.network/api-reference/compact-runtime/interfaces/JubjubPoint.md)
