- Home /
How do I change the sprite of a button when clicking?
In unity 2d, when i click on a button i want to change the button's sprite so it becomes pressed and when I release the button it returns to its origional state. How do I do that?
Comment
It works! thanks, but how do I change the position of the button with the GUISkin?
Your answer
![](https://koobas.hobune.stream/wayback/20220613123055im_/https://answers.unity.com/themes/thub/images/avi.jpg)