I am new to Godot and GDscript.
I’m having issues, because the game crashes every time I click with the inventory open. I get error: Invalid get index ‘is’ (on base: ‘InputEventMouseButton’).
What it is supposed to do, is drop an item if there is one selected much like how minecraft works. I followed a YT tutorial from 8 months ago and he doesn’t get the error that I get. Could the code just be outdated? Just unsure on what this error means
Screenshot of the code in question: Screenshot by Lightshot
The tutorial i was using: https://youtu.be/V79YabQZC1s?si=pqFoH0DEMeUDoCzt&t=3348