Discuss Scratch

TKTK1234567
Scratcher
1000+ posts

How (if possible) do you make drop down menus in "My Blocks"?

How do you make?:
[ v]

Generation IX (9): the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment.
Image generator for forms here!
I have something that shoots evil kumquats automatically so I have none.
Check out the Glow Shop.
If I helped please give me CREDIT( or if I didn't help I would love it.
To create your own signature go here:
(join [https://scratch.mit.edu/discuss/settings/] (join (username) [/]))
Join my ⚔️Scratcher Defense Army⚔️And The Boat Empire( ask in comment section).
when green flag clicked
forever
if <(I Need Help) = [Yes]> then
Get Help::custom
end
when green flag clicked
forever
if <(Response) = [true]> then
say [ok]
set [Response v] to [false]
end
end
fakemaker1337
Scratcher
99 posts

How (if possible) do you make drop down menus in "My Blocks"?

It is not possible, sorry.

when green flag clicked
forever
if <<On Scratch> and <On Forums>> then
repeat until <(help need near me) = [no]>
if <(help need near me) = [yes]> then
Help!
end
end
end
end
deck26
Scratcher
1000+ posts

How (if possible) do you make drop down menus in "My Blocks"?

fakemaker1337 wrote:

It is not possible, sorry.
That's a bit negative and not really true. Depends what the menu needs to do.

Please define what the menu needs to do. Do options appear highlighted as you hover over them or are you just wanting to click on an option. Can the whole menu be handled with costumes?
TKTK1234567
Scratcher
1000+ posts

How (if possible) do you make drop down menus in "My Blocks"?

deck26 wrote:

fakemaker1337 wrote:

It is not possible, sorry.
That's a bit negative and not really true. Depends what the menu needs to do.

Please define what the menu needs to do. Do options appear highlighted as you hover over them or are you just wanting to click on an option. Can the whole menu be handled with costumes?
The menu is in the code.

Generation IX (9): the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment.
Image generator for forms here!
I have something that shoots evil kumquats automatically so I have none.
Check out the Glow Shop.
If I helped please give me CREDIT( or if I didn't help I would love it.
To create your own signature go here:
(join [https://scratch.mit.edu/discuss/settings/] (join (username) [/]))
Join my ⚔️Scratcher Defense Army⚔️And The Boat Empire( ask in comment section).
when green flag clicked
forever
if <(I Need Help) = [Yes]> then
Get Help::custom
end
when green flag clicked
forever
if <(Response) = [true]> then
say [ok]
set [Response v] to [false]
end
end
deck26
Scratcher
1000+ posts

How (if possible) do you make drop down menus in "My Blocks"?

TKTK1234567 wrote:

deck26 wrote:

fakemaker1337 wrote:

It is not possible, sorry.
That's a bit negative and not really true. Depends what the menu needs to do.

Please define what the menu needs to do. Do options appear highlighted as you hover over them or are you just wanting to click on an option. Can the whole menu be handled with costumes?
The menu is in the code.
What does that mean?
Deuzz
Scratcher
500+ posts

How (if possible) do you make drop down menus in "My Blocks"?

You could do something like that:

A sprite with a hole to make the border.
Behind a sprite with a costume for each part of the menu with name on the left and arrow on the right
Then something like that
when this sprite clicked
if <(mouse x)>(limit between menu and arrow)> then


next costume
if <last costume> then
switch costume to [first one v]
end

else
Make action you want depending on costume name
end

helloworldbyeworld
Scratcher
1000+ posts

How (if possible) do you make drop down menus in "My Blocks"?

deck26 wrote:

TKTK1234567 wrote:

deck26 wrote:

fakemaker1337 wrote:

It is not possible, sorry.
That's a bit negative and not really true. Depends what the menu needs to do.

Please define what the menu needs to do. Do options appear highlighted as you hover over them or are you just wanting to click on an option. Can the whole menu be handled with costumes?
The menu is in the code.
What does that mean?
The OP meant if it was possible to make inputs in custom blocks as dropdowns, like making a custom block like this:

a custom block with a [dropdown v] as an (input v)::custom

But without doing JSON-hacking (editing into the project.json hidden inside an SB3 file), it is not possible to make custom blocks have these dropdowns.

Helloworldbyeworld | 1200+ posts
Have a great day

Powered by DjangoBB