How to create the return block in Snap!?

It's very easy, just do these steps ...
First, make a new block.

Captura de Pantalla 2021-02-01 a la(s) 21.42.05

Second, make your block look like the block you want.

Captura de Pantalla 2021-02-01 a la(s) 21.43.00

Then, you have to drag the execute block, call block and the Javascript Function block.

Captura de Pantalla 2021-02-01 a la(s) 21.44.10

Lastly, you have to write '' return a ''

Captura de Pantalla 2021-02-01 a la(s) 21.44.21

And Tada! .

Captura de Pantalla 2021-02-01 a la(s) 21.45.14 Captura de Pantalla 2021-02-01 a la(s) 21.44.41

Now you do have your own return block. :smile: :grin: :+1:t2: :wink:

there is no need to use javascript. Just use the primitive report block

I agree with ego-lay_atman-bay, just use the primitive report, and why is your post and block in English, but the Snap environment is [?]Spanish[/?]

Does this have any benefit over the built in report block? You can just use the one that Snap! provides right?