How we make at menu blinking button?

in menu button text was blinking what code we write ?

Hi there Kanza

You can do that by constantly changing the label of the button.

const label = $w('#button').label;
let timer;

setInterval(() => {
    if (timer) {
        clearTimeout(timer);
        timer = undefined;
    }
    
    $w('#button').label = label;
    timer = setTimeout(() => { $w('#button').label = '' }, 500)
}, 1000)

Hope this helps~!
Ahmad

YES IS IT CAN U GUIDE ME IN LABEL WHAT I NEED DO ?
AT THIS MENU BUTTON I NEED BLINKING HOW I DO ?