I have a menu that has square, circle, platform as choices. When the user touches one of these items on the menu I want the text that was touched to have its color brightened to indicate that it is the currently active shape. Here is the code I have for one of the shapes. How do I change the color of circle to a brighter color when the circle text is touched?
local function button\_circle\_event(event) local phase = event.phase if "ended" == phase then end ended local button\_circle = widget.newButton { left = 1102, top = 50, width = 178, height = 50, label = "Circle", labelColor = { default = { 163, 25, 12 }, over = { 163, 25, 12} }, onEvent = button\_circle\_event, } button\_circle.\_view.\_label.size = 33