@shaun9991, I just tested and that works. I loaded up a new game using the Sierra Template, and made the test below using the
btnAbout in the gPanel of that template.
// room script file
function room_RepExec()
{
if (Button.GetAtScreenXY(mouse.x, mouse.y) == btnAbout)
{
btnAbout.TextColor = 63488;
}
else
{
btnAbout.TextColor = 65535;
}
}
So there's something else at play that is not the script. Can you tell me about the specific button properties? I can tell that if the button is not Enabled, it will not work. Are you sure there's no other GUI on top of it? Is room_RepExec really linked in the room editor?