Control clones and the clone blocks

Edited

Tired of "duplicating actors" or "copy pasting" all the time? Clones are a fast and easy way to create enemies, powerups, or other recurring program elements using code, instead.

Start things off by making a clone:

The clone startup block controls your clones' behavior. Attach code and each clone will run it, whenever a new clone is created.

Clones will continue to be active actors in you project until they're deleted. Deleting clones after you're finished them is a good idea.

HINT: Limiting your total number of clones and regularly deleting them can help speed up your program's performance, especially if you start to notice slow-downs.