Button Help (sad but true)

I have this code on my button Which is Called “guess”

on (release) {

gcount++;
b.text = gcount

if (yourguess < ans) {

a.text = “Higher”;
}
if (yourguess > ans){
a.text = “Lower”;
}
if(yourguess == ans) {
a.text = “Correct”

}
}

I want it so that if this happens
if(yourguess == ans) {
a.text = “Correct”

i want the visbility of my button to be false how do i do it,