RealDocs

AActor::ReceiveActorOnInputTouchEnter

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 onto this actor's area. Requires touch over events to be enabled in the player controller.

Caveats & Gotchas

  • Only fires when bEnableTouchOverEvents is set on the player controller. This flag is independent from bEnableTouchEvents.
  • This is a 'drag hover enter' event — it fires when a finger already in contact with the screen moves over this actor, not when a new finger is placed.

Signature

void ReceiveActorOnInputTouchEnter(const ETouchIndex::Type FingerIndex)

Parameters

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

Return Type

void

Example

Blueprint swipe target highlighting text
// In Blueprint: override 'TouchEnter' event node
// Event TouchEnter (FingerIndex) -> Set Material (Highlight 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.