Hello, so, I don’t know if it’s correct category, but…
I was wondering what method should I use for making an inventory?
Something like this:
https://gyazo.com/b829503f61d5b2d4cb3792221402b7a9
I do not know, like, should I use MouseEnter or get absolute position and compare the distance between mouse and the empty slot? what do you recommend me?
If you have any other way to do it let me know!
2 Likes
You can round each component of the coordinates of an inventory item to the nearest grid unit. It’s pretty much the same as grid placement systems for furniture or tycoons that you see in many games. There’s even a community tutorial on the topic, check it out here.