drag and drop UI onto sprite

Currently im working on a game where i drag a card and drop it into a gameObject(enemy) and it should call a function that only work on that object

can someone help me what should i do? i’m pretty new with unity engine so i need some direction

Like any project, break the task down into smaller topics. You need a drag and drop model, master the topic on the side scene, and then implement it matching what you have.