Introduction to Clones
A clone is a temporary copy of a sprite created while the program runs. Clones are perfect for enemies, bullets, falling objects, or any situation where you need many copies of the same sprite.
Clone Blocks
- create clone of (myself) — creates a new clone of this sprite.
- When I start as a clone — hat block; runs when the clone is created.
- delete this clone — removes the clone (important — clones pile up if not deleted!).
Structure
The original sprite hides and creates clones. Each clone runs its own “When I start as a clone” script independently.