{{newin|[[0.9.0]]|090|type=function}}
Get the derivative of the Bézier curve.

This function can be used to rotate sprites moving along a curve in the direction of the movement and compute the direction perpendicular to the curve at some parameter t.

== Function ==
=== Synopsis ===
<source lang="lua">
derivative = BezierCurve:getDerivative()
</source>
=== Arguments ===
None.
=== Returns ===
{{param|BezierCurve|derivative|The derivative curve.}}
== See Also ==
* [[parent::BezierCurve]]
* [[love.math]]
[[Category:Functions]]
{{#set:Description=Get derivate of the Bézier curve.}}
== Other Languages ==
{{i18n|BezierCurve:getDerivative}}