RUI Studio Help

Control visual states (three states)

Pressed, selected, and invalid looks; invalid can block touch.

Select a touch area and open Configure control states. You can set colors or swap images for pressed, selected (bool), and invalid.

  • Short-click toggle for the selected look: after export, a click flips the bool and refreshes the look.
  • Bind a bool variable: the look follows the variable. If a callback changes that bool, the exporter adds a refresh automatically (you do not write a second layer by hand).
  • With Block touch when invalid, the firmware ignores that hit area in the invalid state.

After a flick page change, the three states refresh once the scroll finishes. You do not need the final look during the animation.