An example script is below:
當 @greenflag 被點擊 重複 (10) 次 造型換成下一個 等待 (0.05) 秒 end
This contains the costume change and the animation delay.
- Main article: List of Block Workarounds
Along with the 造型换成 () block, it is one of the most commonly used 外观类积木. However, this block is technically unnecessary due to the fact that the following code can be used:
造型換成 ((造型编号) + (1))
To get the effect of the nonexistent
previous costume//category=looks block, the addition can be changed to subtraction, like this:
造型換成 ((造型编号) - (1))
Many 用户 have made suggestions about removing this block, insisting that it does not make any sense without a Previous Costume block. However, others have disagreed, saying that it saves time, is useful for animations, makes the scripting area less cluttered, and helps new Scratchers be less confused.