Gládio Cítrico

Ramu 0.7b doc

doc homeRamu

virtual Clickable.onHoverStay()

Description

It will be called while the mouse remains on the object.

You can test this snippet of code here.

var TXT = new Text("Hover Enter", 10, 10, 200);

class ClickableChild extends Clickable{
   onHoverStay(){
      TXT.text = "Mouse inside of the object";
  }
  onHoverExit(){
      TXT.text = "Mouse is outside of the object";
  }
}

See also Clickable.onHoverEnter and Clickable.onHoverExit.