I want to get the absolute value of a number in Scratch, meaning to drop the negative sign and convert all numbers to positive numbers.
Under the "Operators" code section, I found a block with a built-in abs
function:
So you can use it like this to get the absolute value of a number: