Motion+

Incorrect cubic bezier length

>You've received the following message
Cubic bezier arrays must contain four numerical values.

You've defined a cubic bezier curve with an incorrect number of points.

animate(
  element,
  { x: 100 },
  { ease: [0.3, 0.05, 0.45, 0.9, 1] }
)

Solution

Cubic bezier curves must only contain four points. Use the Motion AI Kit transition editor to visually design easing curves that are always syntactically valid.