drop down list

how do i make a dropdown list
im trying to make a glide (1) secs to [mouse pointer]
block

See page 45 of the manual for information on using menu dropdowns/pulldowns

But you might need some more help, so as well as the mouse pointer, what other things do you want in your dropdown list?

I don't think Snap supports custom dropdown blocks yet. You can use the glide, mouse x, and mouse y blocks to substitute for that block, however.

This image even shows that you can use a JavaScript function to make a drop-down menu!
Right-click on the page with the different input types.

Wow, I didn't know that at all! That's pretty cool.

sprites random etc everything in the scratch one but mouse and sprites are supported with a
does sprite ( ) block i made and i can do the random but i dont know how to make a dropdown list

how to do input slot options?

oh never mind

 

Wow! I'm pretty sure it doesn't say that in the manual...

How did you find out about it?

Yup, I just found out about it recently. I try to keep the manual up to date...

I don't remember. It was probably another topic on this forum.

Can you post a link to a project with your block in it so I can try and see what the difference between it and my attempt please?

wait... why did I put a , after the last item? That shouldn't be there.

No because it seems to be broken (removed? obsolete?) now. @jens?

its the glide 1 secs to sprite from scratch.mit.edu

Got what your after at last :slight_smile:

I've made a feature request as I can't see any way of getting it at the moment.

Just a workaround for the moment would be to create custom reporters for mouse-position, random-position and centre and drop them into object menu slot when needed

One thing that you might help you, is that positions in Snap! are represented by a 2 item list

e.g

image

but Screenshot 2020-10-12 at 8.01.16 AM
andScreenshot 2020-10-12 at 8.04.00 AM