Discuss Scratch
- Discussion Forums
- » Developing Scratch Extensions
- » Path finding
- dpowell11
-
Scratcher
5 posts
Path finding
I posted this extension idea somewhere else but I have no idea how to make this…
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
An example of use:

Set path finding mode to [Top view v]
Set path finding mode to [Side view v]
Show path finding
Hide path finding
Path find to color [#67e94b]
Path find to [Sprite v] without touching color[#67e84b]
Path find to color[#67e84b] without touching [Sprite_2 v]
Path find to [Sprite v] without touching [Sprite_2 v]
if <Path finding [Failed v] ?> then
broadcast [Panic v]
end
if <Path finding [Succeeded v] ?> then
broadcast [Celebrate v]
end
Follow path in increments of (10)Increments is referring to points on a graph
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
An example of use:
when green flag clicked
set path finding mode to [Top view v]
Show path finding
Path find to [egg v] without touching color[#FF0000]
if <Path finding [Succeeded v] ?> then
Follow path in increments of (15)
end
stop [all v]

Last edited by dpowell11 (Oct. 30, 2025 19:59:16)
- Discussion Forums
- » Developing Scratch Extensions
-
» Path finding
