まずは、rclick_tjs.ksのRButtonLayerクラス(20行目)のonClick()の前あたりに、
function drawState(s)
{
if(!enabled) s = 0; // 無効状態
if(Butt_keyPressed) s = 1; // 押されている
opacity = 128;
// 枠とキャプションを描画
// クリア
face = dfBoth;
colorRect(0, 0, width, height, 0, -255);
// 文字のサイズを得る
var tw, th;
tw = font.getTextWidth(Butt_caption);
th = font.getTextHeight(Butt_caption);
drawText((width-tw)>>1, (height-th)>>1,
Butt_caption, Butt_captionColor, nodeEnabled?255:128);
if(s != 0) opacity = 255;
}
とでも書いてその動きを研究してみてくれ。