( ) - ( ) (Subtraction) — Scratch Block Guide
📌 What you will learn
Subtracts the second number from the first.
What this block does
Subtracts the second number from the first.
Calculate remaining time (60 - timer), distance differences, or HP loss.
- Category: Operators Blocks
- Key tip: Order matters: (10 - 3) is 7, while (3 - 10) is -7.
Working Scratch example
Try building this small script in the Scratch editor, predict what will happen, then click the green flag to test it.
Example using ( ) - ( ) (Subtraction)
- When green flag clicked
- Say (100 - 35) for 2 seconds
Try it: Shows 65.
Related block guides
Explore other blocks in the same category or return to the full English Block Dictionary.
FAQ
When should I use "( ) - ( ) (Subtraction)" in Scratch?
Calculate remaining time (60 - timer), distance differences, or HP loss. Order matters: (10 - 3) is 7, while (3 - 10) is -7.
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.