onTouchUp

inline fun <T : Actor> T.onTouchUp(crossinline listener: T.() -> Unit): InputListener

Attaches an InputListener to this actor.

Return

InputListener instance.

Parameters

listener

invoked each time the touch of the actor is released. Consumes the Actor as this.