Hi everyone! This is a way to make better looking buttons! It uses 2 scripts - one to manage the button's size and clicking functionality, and one to manage its rotation. The first script smoothly transitions between 2 target sizes depending on whether or not the button is hovered on by the mouse pointer, and the second script uses the timer with the "sin" function to oscillate its rotation about a mean position. Try it out yourself by running this project! If you want to use this system in your own project, just backpack the sprite and add it wherever you want! Make sure to read the comments so you understand how it works what how to customize it to your liking!
This system wasn't invented by me and I don't know who originally made it, but I think I found out about it via a separate tutorial made by ShiftClickLearn.