How can I highlight a button only when its pressed? It shouldn't stay highlighted after it is pressed.
Are you referring to a button that is part of a button bar or just a plain button object?
Seems to me that there is a difference in behavior here as buttons bars--even if consisting of a single button have an "active segment" feature not found in normal buttons.
Plain button has the behavior as default, so I assume button bar.
Set "Active segment" of the button bar as "" (empty string), then add each button script "Refresh Object [ the button bar ]" then active state is cleared after pressed. You can set you "highlight" style in inspector selecting "Button Bar Segment" "Pressed"
Retrieving data ...