APlayerController::GetInputTouchState

Retrieves the X and Y screen coordinates of the specified touch key.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h

Include

#include "GameFramework/PlayerController.h"

Source

/Engine/Source/Runtime/Engine/Private/PlayerController.cpp

Syntax

void GetInputTouchState
(
    ETouchIndex::Type FingerIndex,
    float & LocationX,
    float & LocationY,
    bool & bIsCurrentlyPressed
) const

Remarks

Retrieves the X and Y screen coordinates of the specified touch key. Returns false if the touch index is not down

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss