Gládio Cítrico

Ramu 0.7b doc

doc homeRamu

virtual Clickable.onHoverExit()

Description

It will be called when the player’s mouse exits the object.

You can test this snippet of code here.

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

class ClickableChild extends Clickable{
   onHoverEnter(){
      TXT.text = "Hover Enter";
  }
  onHoverExit(){
      TXT.text = "Hover Exit";
  }
}

See also Clickable.onHoverExit and Clickable.onHoverStay.