{{newin|[[0.9.0]]|090|type=function}}
Get coordinates of the i-th control point. Indices start with 1.

== Function ==
=== Synopsis ===
<source lang="lua">
x, y = BezierCurve:getControlPoint(i)
</source>
=== Arguments ===
{{param|number|i|Index of the control point.}}
=== Returns ===
{{param|number|x|Position of the control point along the x axis.}}
{{param|number|y|Position of the control point along the y axis.}}
== See Also ==
* [[parent::BezierCurve]]
* [[BezierCurve:getDegree]]
* [[BezierCurve:setControlPoint]]
* [[BezierCurve:insertControlPoint]]
* [[love.math]]
[[Category:Functions]]
{{#set:Description=Get coordinates of the i-th control point.}}
== Other Languages ==
{{i18n|BezierCurve:getControlPoint}}