Drag & Drop items 2D, Help!

Good afternoon, this message doesn’t go in this section but I can’t find a way to create a new theme. someone could pass me script to move objects in unity2D? press a key to pick up an object, leave the SetActive(false) to disappear the object, and when you hit a button that leaves that object on the ground in the same position where I am (return the setActive to true). I can’t make it work well, I’d appreciate it if anyone could make it easier for me! Thank you

A simple search on YouTube shows plenty of videos on how to do this. Most people won’t just give you code if you ask. You need to show the code you currently have, what you have tried, the errors you’re getting, etc.

https://www.youtube.com/results?search_query=unity+2d+pickup+items