if statements in scratch code example
Example: scratch if then
_______
[ |_______
when_()_clicked|
if<touching[mouse-pointer v]?> then {
||say[Stop_touching_me!]_for_(2)_seconds|
}
_______
[ |_______
when_()_clicked|
if<touching[mouse-pointer v]?> then {
||say[Stop_touching_me!]_for_(2)_seconds|
}