to hide your inventory press i same to show it to eat you need an apple in your inventory and to press e use arrow keys to move it can take 101 to 1 second for a apple to spawn if you already have a apple in your inventory another one will never spawn you have to eat the one thats already there you can drop apples by pressing t also you can respawn if you have 20 money by pressing the f key and thats it have fun and hope you enjoy my game.
i was in a MIT scratch class at my school and xcttu (he's in my class) was talking about inventory so i made a game using inventory if you don't know who xcttu is you should check him out he's a friend of mine he makes weird and advanced projects so check him out on scratch.