Custom scratch blocks don't work


Hi! It seems that if one create custom block in scratch (aka “my block”), it works but after its done nothing else is invoked - e.g.

start (when green flag clicked)
play tone 4c
my-custom-block (e.g. move mbot forward for 2 sec)
play tone 4c

In this case the last beep won’t play (this is just to demonstrate, my code more complicated…)



Ops it seems that my custom block was a forever loop… I changed to to repeat until, now it works fine


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.