RealDocs

AActor::ReceiveActorOnInputTouchLeave

function Engine Blueprint Since 4.0
#include "GameFramework/Actor.h"
Access: public Specifiers: UFUNCTIONBlueprintImplementableEvent

Description

Blueprint implementable event called when an active touch point moves off this actor's area. Pair with ReceiveActorOnInputTouchEnter to track drag-over state.

Caveats & Gotchas

  • Does not fire when the finger is lifted while still over the actor — only when the finger moves off while still pressed. Use ReceiveActorOnInputTouchEnd for the lift case.
  • Requires bEnableTouchOverEvents on the player controller; it will not fire if only bEnableTouchEvents is enabled.

Signature

void ReceiveActorOnInputTouchLeave(const ETouchIndex::Type FingerIndex)

Parameters

Name Type Description Default
FingerIndex const ETouchIndex::Type Which finger left the actor's touch area.

Return Type

void

Example

Blueprint swipe target de-highlighting text
// In Blueprint: override 'TouchLeave' event node
// Event TouchLeave (FingerIndex) -> Set Material (Default Material)

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.