- The correct title of this article is () < (). The Scratch Wiki uses this different title because of technical restrictions.
|() < ()|
This block works with letters too, not just numbers - in Scratch, letters at the top of the alphabet (ie. a, b, c) are worth less than letters at the end (ie. x, y, z). In Scratch 1.3 and lower, it only accepted numbers.
By default, both inserts are left blank.
The block can be replicated with the following code:
If a group must be arranged in size, this block can easily do the job.
Some common uses for the () < () block are below:
- Arranging a set of numbers/letters
- Evaluating numbers/letters
- Comparing different variables (eg. comparing two characters' health in a game)