Is there InputTouch analog in Visual Studio? i want to know FVector Location of touch event
how i can get location of touch event?
Hi Skylar,
Try to use this function in player controller. In addition, you should checked Use Mouse For Touch (Project Settings).
bool AMyPlayerController::InputTouch(uint32 Handle, ETouchType::Type Type, const FVector2D& TouchLocation, FDateTime DeviceTimestamp, uint32 TouchpadIndex)
{
Super::InputTouch(Handle, Type, TouchLocation, DeviceTimestamp, TouchpadIndex);
return true;
}
Best regards,