Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APlayerController > API/Runtime/Engine/GameFramework/APlayerController/GetInputTouchState
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include | #include "GameFramework/PlayerController.h" |
UFUNCTION (BlueprintCallable, Category="Game|Player")
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