Here’s a stripped down version of UElementalGestureListener
The CurrentGesture struct is declared like this
(Public)
UPROPERTY(EditAnywhere, Category = Data)
FGesture CurrentGesture;
And the relevant structs…
USTRUCT()
struct FGesture
{
GENERATED_USTRUCT_BODY()
UPROPERTY(EditDefaultsOnly, Category = Data)
FShape Shape;
}
USTRUCT()
struct FShape
{
GENERATED_USTRUCT_BODY()
UPROPERTY(EditDefaultsOnly, Category = Data)
TArray<struct FVector2D> Points;
//Adding this made no difference
FShape()
{
Points.Reset();
}
}