[CC Creator] Code doesn't run

Hello, first time using cocos2d-X. I’m trying out cocos creator and I have this code attached to my object and it’s being compiled successfully:

cc.Class({
    extends: cc.Component,

    properties: {
        
       
    },

    // use this for initialization
    onLoad: function () {

    },
    start: function () {
        var action = cc.moveBy(2, 100, 200);
        node.runAction(action);
    },
    // called every frame, uncomment this function to activate update callback
     update: function (dt) {
        
     },
});

But whenever I run the project, the object just instantly disappears, what am I doing wrong?!

node is undefined, you should use

this.node.runAction(action)

Thanks a lot, it works now, but it doesn’t really say that here:
http://cocos2d-x.org/docs/editors_and_tools/creator-chapters/scripting/actions/

In the documentation I can just demonstrate the general usage, I can’t assume where developers will use that code, when I write node.runAction, I actually simply mean only cc.Node can run an action, you need an cc.Node instance to do it. I won’t know where you are gonna retrieve that instance.

In any case, a undeclared variable should never be used in your code.

In any case, a undeclared variable should never be used in your code.

I know, but considering that I have been using SWIFT for a while( actually just released my first game with it) I kinda got used to ignore (this/self)
Thank you.

No problem, hope you enjoy Creator