Custom scratch blocks don't work


#1

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…)

Thanks!
Udi


#2

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


#3

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