"When This Sprite Clicked" on a clone
-
Can you attach a “When this Sprite clicked” to a clone of a sprite, or do you need to add this:
-
@011830-0a42ef84 this would be the only way, though the wait block is unnecessary because a repeat until running forever wouldn’t cause much lag
-
The “when this sprite clicked” block works for clones, since clones are also sprites.
Also, this is a good question that you can ask our AI assistant “CreatiCode XO”, so you do not have to wait for answers here.
For example, you can ask XO this question: how to make a clone of a sprite say “hi” when it is clicked?
One possible response is the following program with explanations:
Explanation:
Create Clone: The create clone of [myself v] with ID [1] block creates a clone of the sprite with a unique ID (in this case, ‘1’). You can use any ID you’d like.
When I Start as a Clone: This block initializes the behavior for clones. It ensures the following script applies only to clones, not the original sprite.
When This Sprite Clicked: This block detects when any clone is clicked.
Say Block: The say [hi] for (2) seconds block makes the sprite say “hi” for 2 seconds when clicked.