Discuss Scratch

UNKNOWN666666
Scratcher
1 post

How to make a clone teleport to a random position but not touching another clone

i don't know how

Last edited by UNKNOWN666666 (April 5, 2021 14:58:04)

awesome-llama
Scratcher
1000+ posts

How to make a clone teleport to a random position but not touching another clone

Are you saying you can't find the touching block?

1LazyCat1
Scratcher
13 posts

How to make a clone teleport to a random position but not touching another clone

It's the first one in the sensing blocks. To change who it touches just click on the word “mouse-pointer” and you can change it.
D-ScratchNinja
Scratcher
1000+ posts

How to make a clone teleport to a random position but not touching another clone

You can also use this block,
(distance to [sprite v])
to make sure that for example an enemy does not unfairly spawn right next to the player. Is that the answer you're looking for?
SansStudios
Scratcher
1000+ posts

How to make a clone teleport to a random position but not touching another clone

oh are you using clones and you don't want one clone to be able to touch another clone?
Yusei-Fudo
Scratcher
1000+ posts

How to make a clone teleport to a random position but not touching another clone

go to [random-position v]
repeat until <not <<touching [thing v] ?> or <touching [thing v] ?>>
go to [random-position v]
end

Powered by DjangoBB