Define block's "block" script variable doesn't gets updated when the block does

So I was making a new custom block but I can’t figure out how to update the block script variable in the define block when the definition gets updated.
Does anyone know how to do this?

define ((block)) [test block] ({play sound[Meow V]}@addInput)
set [label V] of block(block) to [if you see this, then this worked.]

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