The block holds its sprite’s current costume number.
- Scratch Based Default Extensions
- Artificial Intelligence
- Innovative Extensions
- Machine Learning Environment
- PictoBlox Extension: Looks
- Mode: Stage Mode
- Type: Reporter Block
In this example, we simulate the covid experiment using the physics simulation.
In this example, we simulate the covid experiment using the physics simulation. Following is what we are doing:
- 21 humans are created with 20 green and 1 red ball.
- Gravity is set to 0 simulating zero gravity.
- The balls move at random speeds constantly creating random behavior.
- If the green balls touch the red balls, it turns red.
- After 10 seconds the red ball gets converted to green.
All articles loaded
No more articles to load