How to avoid players from picking up infinite items???

hello! i recently just started learning rpg maker mv.
i am pretty slow with learning how events work and i am slowly, but carefully trying to understand everything.

has anyone ever had that one struggle where you pick up an item, and you walk out of the current room, but when you enter the previous room again, the item is there again which allows the player to pick up the same object over and over again just by leaving and re-entering the room.

i really want to find a way to avoid this, but i dont know how :[
Use SelfSwitches! Jeez
2021-08-16 21_30_50-ID_011 - Event Editor.png


and create new empty page:
2021-08-16 21_31_40-ID_011 - Event Editor.png


Rest you can edit as you wish, but these two are mandatory
the easiest way is to have a selfswitch A on the event and a blank page
after it with the condition selfswitch A is on.

so whenever you exit the room and come back, you cannot loot it again.
some items can be relooted if you place a timer on it, or can carry only
1 item and lootable when the player doesn't have the item anymore.

that depends on the mechanic you use, if its just a potion, use selfswitches.

(Soulrender ninja's me by a second) 😛
I suggest that you go to the integrated help section and both do the tutorials and read through the help documentation, becaause that (and a lot of other things) is either explained there or demonstrated (for example through the quick event: treasure chest option).
Check out SumRndmDde's tutorials on YouTube. There's lots of good info in them.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-avoid-players-from-picking-up-infinite-items.139650/