I want to create a button with GUI.Button and it began longer when the mouse survol on it

hi ! , I want to create a button with GUI.Button and it began longer when the mouse survol on it , how can i do it , and thank you :slight_smile:

So you want the button to become larger when the mouse scrolls over it? Or it’s becoming larger and you don’t what it to?

Assuming you want it to become bigger, use OnMouseEnter. That will tell you when the mouse has scrolled over the button. Then within the OnMouseEnter function, change the size of the button to make it bigger.