I started to make a simple inventory system. My Scenetree looks like this:
And I have a Code, which is attached to the Inventory(Node2d):
#At first, I add ten items to my Inventory:
for i in 10:
#Here I try to attach the selected Item to my cursor:
var ItemSelected = $Control/ItemList.get_item_icon(index)
My problems are:
1. When I select a Item and attach it to the cursor and remove it from the ItemList, I want that there, where the Item was before, is a gab. But actually, the other Items are moving to the left and top, so that there is no gab anymore.
2. The size of the custom mouse courser is very small. How can I incress the size of the custom coursor?