Card Expand On Click Help

Hello everyone! I am still fairly new to unity and don’t have a lot of experience when it comes to code. I am trying to make a card game right now very similar to Gwent. I am having an issue with my cards though. They are very small and the player can barely see the cards image let alone it’s description and statistics. I want to create a method where when you click on any card in the deck the card is dragged to the middle of the screen and expanded to where it is view-able. I also want to make two side buttons that can scroll between the deck without having to select and deselect the card. Please post whatever you think is helpful!

It’s impossible to tell you anything without knowing what you’re already doing, and what you’ve tried to do.

Like, your cards could be UI images or 3D game objects or image effects or whatever, and all of those things require different approaches.

You probably want to solve this with an animation, which you can read about here. Other than that there’s nothing to go on to actually help you.

My card currently is just an image sprite on a UI image.

what have you tried? What are you not managing to do?

Like, are you not able to write a method that’s called when the card is clicked?
are you not able to move the card to the center of the screen?
are you not able to increase the size of the card?

I have tried resizing the card but once it is resized it takes up too much of the screen. I am able to move the card and increase the size of it but i don’t like the way it looks. I basically just want to know where I should start on creating a method that automatically centers and re-scales a card clicked on to where it can be read on the screen. I have an idea of what I need to do, just not how to create the method.