Skip to content

how to make blocks show up with a button #1441

Answered by CST1229
PolyPenguinDev asked this question in Q&A
Discussion options

You must be logged in to vote

Look at the code used in the Animated Text extension. Basically, set the hideFromPalette property of blocks to a value based on a variable, and have a Scratch.BlockType.BUTTON to toggle that variable.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by PolyPenguinDev
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants