variables · reference
sprite.indexOf·
- use
sprite.indexOf(searchValue)- searchValue
- the block starts with
"World" - kind
- a value: it goes inside another block
- drawer
- Variables, in the code room's blocks
Explain this block
Ask how sprite.indexOf works in your game.