# How to use curve editor correctly?

**URL:** <https://forum.babylonjs.com/t/how-to-use-curve-editor-correctly/13377>\
**Category:** Questions\
**Tags:** editor\
**Created:** [August 14, 2020, 8:33am UTC](https://forum.babylonjs.com/t/how-to-use-curve-editor-correctly/13377 "2020-08-14T08:33:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![J.C](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/j.c/32/6574_2.png) [@J.C](https://forum.babylonjs.com/u/J.C)\
**Post date:** [August 14, 2020, 8:33am UTC](https://forum.babylonjs.com/t/how-to-use-curve-editor-correctly/13377/1 "2020-08-14T08:33:48Z")

</div>

In PG select an object in the inspector menu and click “edit” in the animations section to open the curve animation editor, but why I can’t create a new animation for the object? it always shows

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/7/7894dbe4deef76063e43f9d9e4c91f668b3864fe.png)

I think the options in the image equals to code below?

```
var anim = new BABYLON.Animation("testAnim", "value", 60, BABYLON.Animation.ANIMATIONTYPE_FLOAT, BABYLON.Animation.ANIMATIONLOOPMODE_CYCLE);

```

thanks.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [August 14, 2020, 4:37pm UTC](https://forum.babylonjs.com/t/how-to-use-curve-editor-correctly/13377/2 "2020-08-14T16:37:28Z")

</div>

Hey. This is an ongoing feature we are developing. It is not done yet:) I’ll publish a post here when it will be ready to be tested:)

---

<div class="post-metadata">

**Author:** ![J.C](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/j.c/32/6574_2.png) [@J.C](https://forum.babylonjs.com/u/J.C)\
**Post date:** [August 17, 2020, 2:38am UTC](https://forum.babylonjs.com/t/how-to-use-curve-editor-correctly/13377/3 "2020-08-17T02:38:57Z")

</div>

got it. thank you~
