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

== Function ==
=== Synopsis ===
<source lang="lua">
BezierCurve:setControlPoint(i, x, y)
</source>
=== Arguments ===
{{param|number|i|Index of the control point.}}
{{param|number|x|Position of the control point along the x axis.}}
{{param|number|y|Position of the control point along the y axis.}}
=== Returns ===
Nothing.

== See Also ==
* [[parent::BezierCurve]]
* [[BezierCurve:getDegree]]
* [[BezierCurve:getControlPoint]]
* [[BezierCurve:insertControlPoint]]
* [[love.math]]
[[Category:Functions]]
{{#set:Description=Set coordinates of the i-th control point.}}
== Other Languages ==
{{i18n|BezierCurve:setControlPoint}}