The bounce settings every built-in widget takes in its settings object:
a small grow under the pointer and a squash while held. Only the drawing
scales; the hit area and the layout stay as they are. See
UIBaseElement#hoverScale.
Example
// a button that grows 5% under the pointer and squashes while held constplay = newUITextButton(100, 200, { text:"Play", hoverScale:1.05, pressScale:0.92, });
The bounce settings every built-in widget takes in its settings object: a small grow under the pointer and a squash while held. Only the drawing scales; the hit area and the layout stay as they are. See UIBaseElement#hoverScale.
Example