@@ -269,8 +269,8 @@ const looks = function (isInitialSetup, isStage, targetId, costumeName, backdrop
269
269
</shadow>
270
270
</value>
271
271
</block>
272
- <block type="looks_sayWidth"></block>
273
- <block type="looks_sayHeight"></block>
272
+ <block id=" ${ targetId } _sayWidth" type="looks_sayWidth"></block>
273
+ <block id=" ${ targetId } _sayHeight" type="looks_sayHeight"></block>
274
274
${ blockSeparator }
275
275
` }
276
276
${ isStage ? `
@@ -355,8 +355,8 @@ const looks = function (isInitialSetup, isStage, targetId, costumeName, backdrop
355
355
</shadow>
356
356
</value>
357
357
</block>
358
- <block type="looks_stretchGetX"></block>
359
- <block type="looks_stretchGetY"></block>
358
+ <block id=" ${ targetId } _stretchGetX" type="looks_stretchGetX"></block>
359
+ <block id=" ${ targetId } _stretchGetY" type="looks_stretchGetY"></block>
360
360
` }
361
361
${ blockSeparator }
362
362
<block type="looks_changeeffectby">
@@ -379,13 +379,13 @@ const looks = function (isInitialSetup, isStage, targetId, costumeName, backdrop
379
379
</value>
380
380
</block>
381
381
<block type="looks_cleargraphiceffects"/>
382
- <block type="looks_getEffectValue"/>
383
- <block type="looks_tintColor"/>
382
+ <block id=" ${ targetId } _getEffectValue" type="looks_getEffectValue"/>
383
+ <block id=" ${ targetId } _tintColor" type="looks_tintColor"/>
384
384
${ blockSeparator }
385
385
${ isStage ? '' : `
386
386
<block type="looks_show"/>
387
387
<block type="looks_hide"/>
388
- <block type="looks_getSpriteVisible"/>
388
+ <block id=" ${ targetId } _getSpriteVisible" type="looks_getSpriteVisible"/>
389
389
${ blockSeparator }
390
390
<block type="looks_changeVisibilityOfSpriteShow">
391
391
<value name="VISIBLE_OPTION">
@@ -423,7 +423,7 @@ const looks = function (isInitialSetup, isStage, targetId, costumeName, backdrop
423
423
<shadow type="looks_getOtherSpriteVisible_menu"/>
424
424
</value>
425
425
</block>
426
- <block type="looks_layersGetLayer"></block>
426
+ <block id=" ${ targetId } _layersGetLayer" type="looks_layersGetLayer"></block>
427
427
${ blockSeparator }
428
428
` }
429
429
${ isStage ? `
@@ -533,7 +533,7 @@ const sound = function (isInitialSetup, isStage, targetId, soundName) {
533
533
</value>
534
534
</block>
535
535
<block type="sound_cleareffects"/>
536
- <block type="sound_getEffectValue"/>
536
+ <block id=" ${ targetId } _soundgetEffectValue" type="sound_getEffectValue"/>
537
537
${ blockSeparator }
538
538
<block type="sound_changevolumeby">
539
539
<value name="VOLUME">
@@ -732,7 +732,7 @@ const control = function (isInitialSetup, isStage) {
732
732
` ;
733
733
} ;
734
734
735
- const sensing = function ( isInitialSetup , isStage ) {
735
+ const sensing = function ( isInitialSetup , isStage , targetId ) {
736
736
const name = translate ( 'SENSING_ASK_TEXT' , 'What\'s your name?' ) ;
737
737
// const openDocumentation = translate('OPEN_DOCUMENTATION', 'Open Documentation');
738
738
const helpManual = translate ( 'HELP_MANUAL' , 'Help Manual' ) ;
@@ -879,7 +879,7 @@ const sensing = function (isInitialSetup, isStage) {
879
879
${ isStage ? '' : `
880
880
${ blockSeparator }
881
881
<block type="sensing_setdragmode" id="sensing_setdragmode"></block>
882
- <block type="sensing_getdragmode" id ="sensing_getdragmode"></block>
882
+ <block id=" ${ targetId } _getdragmode" type ="sensing_getdragmode"></block>
883
883
${ blockSeparator }
884
884
` }
885
885
${ blockSeparator }
0 commit comments