/Engine/Source/Runtime/Slate/Public/Framework/Application/GestureDetector.h
The amount of movement allowed before the finger is no longer considered valid for a long press, until it's removed and re-pressed.
static float LongPressAllowedMovement = 0;