Discuss Scratch

trexchicken
Scratcher
1 post

how to make a toggle

when I receive [toggle]
if <(toggle) = [1]> then

(do whatever you want here)
set [toggle] to [0]

else
(do whatever you want here)
set [toggle] to [1
]
end

Powered by DjangoBB