Destination block not working

ok so I was trying to make this thing


but for some reason it wont work with the mouse, random, and center options.

untitled script pic (1)

untitled script pic (3)

that feels wrong...

I know, right? why?

I think it's a bug.

i noticed this:
untitled script pic (17)

with the join block «» strangely disapear...
untitled script pic (18)
so you can do this:
untitled script pic (19)

No, "select" is a dev mode, not a general purpose block. It returns a "raw" JS object (array).

why the join block remove : «»

and i also noticed this:
untitled script pic (20)
but same error:
untitled script pic (22)

You copied the "random-position" block inside the scripting area.
If you drag another instance from the palette, magic happens...
:rofl:
untitled script pic - 2024-11-25T235354.819


The bubble does not show "real" values. It's just visualization.
More consistent view
untitled script pic - 2024-11-25T235926.183
But those are low-level (JS) implementation details.

For me EOT.

You can get the text from select values using ([unselect V] of []) , but it converts lists to a List [# elements], which is not very useful. I would have suggested to check if it was text before unselecting, however snap doesn't say selected text is text, so you'd have to use the dev mode (type of []) reporter.

Haha

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