##### Views

- Page
- Discussion
- View source
- History

# BezierCurve:evaluate

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Evaluate Bézier curve at parameter t. The parameter must be between 0 and 1 (inclusive).

This function can be used to move objects along paths or tween parameters. However it should not be used to render the curve, see BezierCurve:render for that purpose.

## Function

### Synopsis

x,y = BezierCurve:evaluate(t)

### Arguments

`number t`
  Where to evaluate the curve.

### Returns

`number x`
  x coordinate of the curve at parameter t.
`number y`
  y coordinate of the curve at parameter t.

## See Also

- BezierCurve
- BezierCurve:render
- love.math

## Other Languages

Dansk – Deutsch – English – Español – Français – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Polski – Português – Română – Slovenský – Suomi – Svenska – Türkçe – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – ไทย – 日本語 – 正體中文 – 简体中文 – Tiếng Việt – 한국어
More info

Retrieved from "https://www.love2d.org/wiki/BezierCurve:evaluate"
Categories: Templates | Functions

##### Personal tools

- Log in

##### Search

##### Toolbox

- What links here
- Related changes
- Special pages
- Printable version
- Permanent link
- Browse properties