Discuss Scratch

sawe871
Scratcher
34 posts

How do I delete sprites?

when I receive [delete v]
repeat until <I am deleted>
set [delete v] to [1]
say [Why wont I delete?]

end

How do I delete a sprite?

Last edited by sawe871 (Nov. 22, 2013 15:40:09)

drmcw
Scratcher
1000+ posts

How do I delete sprites?

Right click and select delete from the menu.
CoderBee
New Scratcher
2 posts

How do I delete sprites?

That is a great question!!

Here's the solution….

In a word - you can't. If you created a Sprite for your program then that Sprite must stay around forever otherwise future users of your program would never get to see it!

Here's what to do …

Make the first command when the program runs for all your Sprites a HIDE command.
Then, whenever you need a Sprite to appear issue the Create A Clone command.
Clones CAN be deleted. The command is under the CONTROL area and it is simply ‘DELETE THIS CLONE’.

The regular programming that you might do around your Sprite should be moved to the ‘WHEN I START AS A CLONE’ control command.

Hope this helps :>

dBee


sawe871
Scratcher
34 posts

How do I delete sprites?

CoderBee wrote:

That is a great question!!

Here's the solution….

In a word - you can't. If you created a Sprite for your program then that Sprite must stay around forever otherwise future users of your program would never get to see it!

Here's what to do …

Make the first command when the program runs for all your Sprites a HIDE command.
Then, whenever you need a Sprite to appear issue the Create A Clone command.
Clones CAN be deleted. The command is under the CONTROL area and it is simply ‘DELETE THIS CLONE’.

The regular programming that you might do around your Sprite should be moved to the ‘WHEN I START AS A CLONE’ control command.

Hope this helps :>

dBee



Could you put that in the scrachblocks format?

when green flag clicked
say [Please put that in scratchblocks]
sawe871
Scratcher
34 posts

How do I delete sprites?

drmcw wrote:

Right click and select delete from the menu.

I mean on the online editor.
Deerleg
Scratcher
1000+ posts

How do I delete sprites?

If you want the sprite to get out for good then right-click and pick delete.
However, if you just want it to disappear, then go to looks and find the hide block. It looks like this:
 
hide
I hope this helps!
ppettitt
Scratcher
100+ posts

How do I delete sprites?

sawe871 wrote:

drmcw wrote:

Right click and select delete from the menu.

I mean on the online editor.
It should be the same on the online editor…
sawe871
Scratcher
34 posts

How do I delete sprites?

ppettitt wrote:

sawe871 wrote:

drmcw wrote:

Right click and select delete from the menu.

I mean on the online editor.
It should be the same on the online editor…


You cannot right click…
ScratchJahd2011
Scratcher
500+ posts

How do I delete sprites?

To delete a sprite, drag it into the scripts menu.

To delete a clone, use this:
 delete this clone

To make it disappear, use this:
 hide
or
 set [ghost v] effect to (100)
1234abcdcba4321
Scratcher
1000+ posts

How do I delete sprites?

^^ The ghost effect doesn't work, you can still see what they're saying.

click on sprite in editor
delete
AonymousGuy
Scratcher
1000+ posts

How do I delete sprites?

sawe871 wrote:

ppettitt wrote:

sawe871 wrote:

drmcw wrote:

Right click and select delete from the menu.

I mean on the online editor.
It should be the same on the online editor…


You cannot right click…

If you are on a Mac, then use Ctrl + Click
I don't know why else right click would not work
sawe871
Scratcher
34 posts

How do I delete sprites?

thamks
my cat is trying to eat my sandwich
Fordark
Scratcher
11 posts

How do I delete sprites?

Another way is to click the Scissors button, then when your cursor turns into a pair of scissors, click the sprite you want to delete.
sawe871
Scratcher
34 posts

How do I delete sprites?

Thank you everyone!!!

Powered by DjangoBB