Recreating blocks with themselves

This topic is for recreating blocks using themselves, like using pick random to recreate pick random.
If only it could output decimals..

So this?


No, it's different from that, like this:

Screenshot 2024-02-20 15.26.23

Screenshot 2024-02-20 15.27.48

+ This is why I want pick random to output decimals.

I think you missed this:


Oh, I didn't realize snap didn't output decimals, unless it has a decimal.


Oh, that's on me, I tried 0.00 instead of 0.01,

Oh, duh, it already does that! I learn something every day.

I just realized this doesn't have a lot of "cool" other than remaking pick random.
Either that or I'm uncreative at the moment.

This is my attempt from a few months ago:
DefautProject script pic (1)

input can be integer or decimal numbers

how it work under the hood:

  1. add a decimal number to the from and to parameters
  2. get a random value
  3. substract the decimal number (step 1)

another one:
DefautProject script pic (3)