Discuss Scratch

Kit-Kat14
New Scratcher
2 posts

How do I delete custom blocks off my script??

I'm making a game and have heard extra blocks make things slow on games and animations. How do i get rid of them I've tried the scissors and those won't work. Please help
derniersamourai
Scratcher
100+ posts

How do I delete custom blocks off my script??

In order to remove the DEFINITION of a block all USES of the block must be removed before.
When you can remove the definition of the block, the bcustom block will disappear in the list of custom blocks.
Kit-Kat14
New Scratcher
2 posts

How do I delete custom blocks off my script??

OK thank you and does anybody know how i can only have one sprite on a page at one time with out deleting them?
wbpx9201
Scratcher
100+ posts

How do I delete custom blocks off my script??

Kit-Kat14 wrote:

OK thank you and does anybody know how i can only have one sprite on a page at one time with out deleting them?
To only have one sprite on the screen at a time, use the
Show andHide blocks.
derniersamourai
Scratcher
100+ posts

How do I delete custom blocks off my script??

Actually, to expand the preceding answer, you have to define a message common to all sprites or clones and create a “local” variable named “id” to all sprites and clones.
Assign a different id to all sprites and lcones (just have a “max_id” set to 0, then increment it by 1 each time you assing the max_id at the beginning or creation of a clone.

When you have the unique id for every sprite and clones, you jet set new global var “select id” to the “id” selected.
Then when the message is sent, each clone and sprite test to see if ti is its “id”.
If so, then show
if not, then hide
prehaangandhi
Scratcher
2 posts

How do I delete custom blocks off my script??

pleaase help
pleaseeeeeeeeeeeeeeeeeeeeee
deck26
Scratcher
1000+ posts

How do I delete custom blocks off my script??

prehaangandhi wrote:

pleaase help
pleaseeeeeeeeeeeeeeeeeeeeee
Your post adds nothing useful - please don't spam.
TheDogLover796
Scratcher
1000+ posts

How do I delete custom blocks off my script??

prehaangandhi wrote:

pleaase help
pleaseeeeeeeeeeeeeeeeeeeeee
Please don't Necropost
itsoutchy
Scratcher
29 posts

How do I delete custom blocks off my script??

to delete the DEFINITION of a block:
(
defineyourblock
)

you need to delete all uses of the block
delete them by dragging them into the blocks panel on the left
itsoutchy
Scratcher
29 posts

How do I delete custom blocks off my script??

Kit-Kat14 wrote:

OK thank you and does anybody know how i can only have one sprite on a page at one time with out deleting them?
i'd recommend you start a new topic for that

Powered by DjangoBB