Object will not drag!?!?!?!? [SOLVED]

I’m making a new game where you drag elements onto the tiles to make compound, but when I made 3 new animations for the elements, I could not drag them. The other animations can still be dragged though. Please help.
(coding)


(game picture)

(animations part1)

(animations part2)

Maybe they have weird collision masks? If you enable it you can have different collision masks for each animation or for each frame. In my experience editing these is very finicky, like sometimes if you disable the per-animation masks, they will still not reset…

What are collision masks?

Also known as a “hitbox” (although in GD they don’t have to be square). It is normally just a box surrounding the object, based on the size of the sprite including empty space. This determines where collision happens, and changing it allows you to have more accurate collisions or to have a sprite image of a different size than the mask. For example if your sprite included a carried item that sticks way out, you could make the collision mask smaller so that the part sticking out doesn’t actually collide with anything.

There’s a button to edit them at the bottom of the animations screen. Although it doesn’t sound like you have been there, it might still be worthwhile to check that the collision mask is OK.

Thank you!! lo0pijuxrso

Additionally, if you need help with inventory systems: Gdevelop 5: BEST INVENTORY EVER! by LevelUpWithAlex Its completely free to use.

Its a little out dated in terms on Gdevelop variable calls, as Gdevelop changed the way they need to be written after this tutorial was made but the calls for all inventory system things works perfectly- and teaches how to build modular and effective inventories.