diff --git a/editor_new/index.html b/editor_new/index.html
index f1fb5549..f4efc48b 100644
--- a/editor_new/index.html
+++ b/editor_new/index.html
@@ -845,6 +845,9 @@
Select File here
javascript.javascriptGenerator.forBlock['movement_move_y'] = function(block, generator) {
return "basicMoveY(" + block.getFieldValue("NUM") + ");";
};
+javascript.javascriptGenerator.forBlock['center'] = function(block, generator) {
+ return "center();";
+ };
javascript.javascriptGenerator.forBlock['movement_moveback'] = function(block, generator) {
return "basicMoveBack();";
};