When i am going to launch my project, and pressed key right its not working

Hi, i am newly on Playcanvas i have write below code in my editor, but when i am going to launch my project, and pressed key right its not working, anyone can check and tell me please, where i am wrong?

pc.script.create('move', function(app){
var Move = function (entity){
this.entity = entity;
};
Move.prototype = {
initialize: function () {
},
update: function (dt) {
if(app.keyboard.isPressed(pc.input.KEY_RIGHT)){
this.entity.translateLocal(0.1,0,0);

}
}
};
return Move;
});

Thanks

https://developer.playcanvas.com/en/tutorials/point-and-click-movement/

Thanks Zeonish! but still i have same problem, how can i solve it?

Please share a link to your project if possible.

https://launch.playcanvas.com/584907?debug=true

Vaios! when i am going to run code, its getting this debug error, please check my code

“script ‘move’ is not found, awaiting it to be added to registry”

pc.script.create('move', function(app){
var Move = function (entity){
this.entity = entity;
};
Move.prototype = {
initialize: function () {
},
update: function (dt) {
if(app.keyboard.isPressed(pc.input.KEY_RIGHT)){
this.entity.translateLocal(0.1,0,0);

}
}
};
return Move;
});

You are using the old script format. Please update to use the current scripting format described here.