Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to delete an Object out of a list
- The_Fish909
- Scratcher
100+ posts
How to delete an Object out of a list
I have a game but i am using lists for a inventory system and I added an object to the inventory using this block
but I cant remove it i can only use this block
I cant find a block that just removes text not numbers
add [thing] to [list v]
but I cant remove it i can only use this block
delete (1 v) of [list v]it can only be numbers which is very annoying
I cant find a block that just removes text not numbers
- scratchusername40
- Scratcher
1000+ posts
How to delete an Object out of a list
Try using
delete (item # of [item] of [list v] :: list) of [list v]
- The_Fish909
- Scratcher
100+ posts
How to delete an Object out of a list
Try usingdelete (item # of [item] of [list v] :: list) of [list v]
yea this seemed to work
- Discussion Forums
- » Help with Scripts
- » How to delete an Object out of a list