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

Cookies help us deliver our services. By using our services, you agree to our use of cookies.