Discuss Scratch

BlueDory27
Scratcher
3 posts

How to make a sprite disappear when it touches another sprite

To make a sprite disappear when it touches another one is with this code that i personally use:

when green flag clicked
if <touching [ v] ?> then
hide
end


hope it helps!

Last edited by BlueDory27 (May 16, 2024 19:43:30)

_turtle64
Scratcher
100+ posts

How to make a sprite disappear when it touches another sprite

This forum is for specific scripting problems, not making tutorials or advertising help. In the future, put this in the Show and Tell forum or make your own project about it.
BlueDory27
Scratcher
3 posts

How to make a sprite disappear when it touches another sprite

_turtle64 wrote:

This forum is for specific scripting problems, not making tutorials or advertising help. In the future, put this in the Show and Tell forum or make your own project about it.
sorry? i find tutorials here and my classmates have trouble coding sometimes so i thought this is where to put it. sorry for any misunderstandings
_turtle64
Scratcher
100+ posts

How to make a sprite disappear when it touches another sprite

It's okay. Just remember to post in the proper forums in the future.
BlueDory27
Scratcher
3 posts

How to make a sprite disappear when it touches another sprite

_turtle64 wrote:

It's okay. Just remember to post in the proper forums in the future.
thanks
Blazing_Codes
Scratcher
37 posts

How to make a sprite disappear when it touches another sprite

BlueDory27 wrote:

To make a sprite disappear when it touches another one is with this code that i personally use:

when green flag clicked
if <touching [ v] ?> then
hide
end


hope it helps!
You forgot to add the forever block!
BlueDory27
Scratcher
3 posts

How to make a sprite disappear when it touches another sprite

Blazing_Codes wrote:

BlueDory27 wrote:

To make a sprite disappear when it touches another one is with this code that i personally use:

when green flag clicked
if <touching [ v] ?> then
hide
end


hope it helps!
You forgot to add the forever block!
i use it so it disappears so it doesn't come back lol
pipses
Scratcher
16 posts

How to make a sprite disappear when it touches another sprite

it only dissapears when the flag is being clicked AND its touching the sprite.

Last edited by pipses (May 19, 2024 17:17:22)

Peroor
Scratcher
2 posts

How to make a sprite disappear when it touches another sprite

oh thnks guys

Powered by DjangoBB