So I want to have the position of my button change once the user has clicked it. I'm not sure how to do this and haven't found anything yet on the forums, answers, or documentation. I know I setup the GUI button with GUI.Button(Rect(ect. But How can I tell the button to change location?
asked Aug 02 '11 at 03:06 PM
After countless tries I figured I'd try the duh one for kicks and giggles, figuring it'd absolutely not work because it's too simple.... Yeah it worked.
ItemRect.x = #;
That'll change the x location of your button. You can use that for scaling the objects as well.
Edit: More code for ya since you asked.