Tips for golfing in Scratch
Abuse the bool type

In Scratch the true and false values are equivalent to 0 and 1, so you can perform arithmetic operations over them. A practical example would be finding the sign of a number:

define f(n
set[r v]to(&lt;(n)&gt;(0)&gt;-&lt;(n)&lt;(0