Default forever block


#1

Hello,
I’m writing my own device and I saw in other posts the default “forever” block doesn’t work in new customs devices.
I did my own forever block (called Loop) and it’s working BUT the problem is the default “forever” appear under the “command blocks” inventory with the block Loop.
This is too confusing for the users.
Can you make the default block work or can you enable the elimination from the inventory?

Best regards
Rodrigo


#2

Hi Rodrigo,

Am I understanding you correctly? You mean the default loop block is still there after you created a new one, right? And you want to remove the original one?

In this case, you can input “control_forever” in the “OPCODE” section of your new loop block. What this will do is to replace the original default loop code block in the IDE.

Actually we’re working on extension builder now, and trying to provide new created device with a new loop block. It will probably be released next week. So every new device doesn’t have to create a new loop block.

Best,

Allen


#3

Hello Allen,

I just tested it and it’s working ok!
Thank you very much for your prompt response

That will be great!

Best regards
Rodrigo