- This article or section documents the current version of Scratch (version 3.0). For this article in Scratch 2.0, see Costume Number (block).
Costume () | |
costume [number v] | |
Category | Looks |
Type | Reporter |
Introduced in | 3.0 |
The Costume () block is a Looks Block and a reporter block in Scratch 3.0. This block is only available in sprites. It returns the costume number or the costume's name.
This block can be displayed as a Stage Monitor.
Uses
Going to the previous costume
switch costume to ((costume [number v]) - (1)) :: looks
Checking if a costume has been renamed or if a different costume is being used
when gf clicked forever if <not <(costume [name v]) = [costume1]>> then say [The costume's name is not costume1.] end end
See Also
For sprites |
Say () for () Seconds • Say () • Think () for () Seconds • Think () • Switch Costume to () • Next Costume • Switch Backdrop to () • Next Backdrop • Change Size by () • Set Size to ()% • Change () Effect by () • Set () Effect to () • Clear Graphic Effects • Show • Hide • Go to () Layer • Go () () Layers • Costume () • Backdrop () • Size
|
For the Stage |