diff --git a/src/extensions/scratch3_gdx_for/index.js b/src/extensions/scratch3_gdx_for/index.js index 4f3a31f4e..a67663241 100644 --- a/src/extensions/scratch3_gdx_for/index.js +++ b/src/extensions/scratch3_gdx_for/index.js @@ -713,6 +713,31 @@ class Scratch3GdxForBlocks { } }, '---', + { + opcode: 'isFacing', + text: formatMessage({ + id: 'gdxfor.isFacing', + default: 'facing [FACING]?', + description: 'is the device facing up or down?' + }), + blockType: BlockType.BOOLEAN, + arguments: { + FACING: { + type: ArgumentType.STRING, + menu: 'faceOptions', + defaultValue: FaceValues.UP + } + } + }, + { + opcode: 'isFreeFalling', + text: formatMessage({ + id: 'gdxfor.isFreeFalling', + default: 'falling?', + description: 'is the device in free fall?' + }), + blockType: BlockType.BOOLEAN + }, { opcode: 'getSpinSpeed', text: formatMessage({ @@ -744,31 +769,6 @@ class Scratch3GdxForBlocks { defaultValue: AxisValues.X } } - }, - { - opcode: 'isFacing', - text: formatMessage({ - id: 'gdxfor.isFacing', - default: 'facing [FACING]?', - description: 'is the device facing up or down?' - }), - blockType: BlockType.BOOLEAN, - arguments: { - FACING: { - type: ArgumentType.STRING, - menu: 'faceOptions', - defaultValue: FaceValues.UP - } - } - }, - { - opcode: 'isFreeFalling', - text: formatMessage({ - id: 'gdxfor.isFreeFalling', - default: 'falling?', - description: 'is the device in free fall?' - }), - blockType: BlockType.BOOLEAN } ], menus: {