Mar 23, 2024 00:25:03
How to make draggable items snap back to where it was before being dragged
view on scratch
view on legacy ocular
OtakuFurryAlphaGamer
loading
Save the previous slot index/x and y value (depending on how you do slots) into a (or 2) variables, check when the sprite is released to see if its not touching anything, if not, put it back into the slot based on the index/x and y value which you previously saved.
Hey, i've been trying a few things out but im still a little confused. It's hard since theres an animation for the inventory that plays.