onExitEvent

inline fun <T : Actor> T.onExitEvent(crossinline listener: T.(event: InputEvent, x: Float, y: Float) -> Unit): ClickListener

Attaches a ClickListener to this actor.

Return

ClickListener instance.

Parameters

listener

invoked each time the mouse cursor or finger touch is moved out of an actor. Consumes the triggered InputEvent and the Actor that the listener was originally attached to as this. The received floats are local X and Y coordinates of the actor.

See also