Discuss Scratch

MaceRobin112
Scratcher
23 posts

Why are my blocks always start with "define"

I'm creating a game that uses user-generated blocks. But whenever I create my own block it always starts with “define”.
It looks like this:
define (if this sprite was clicked on)

How do I make this work?

Edit:It's on the forum list of blocks.So it must be intentional…

Last edited by MaceRobin112 (Dec. 22, 2025 22:25:53)

The_Cool_Test_Alt
Scratcher
100+ posts

Why are my blocks always start with "define"

Under the define block, you must define your block.

Like this:

define bounce
change y by [10]
change size by [10]
wait [0.5] seconds
change y by [-10]
change size by [-10]

Then, you can scroll down to the “my blocks” section of the block palette, drag out the block, and use it!

Last edited by The_Cool_Test_Alt (Dec. 22, 2025 22:51:59)

Powered by DjangoBB