RAMA! im trying to implement a RTS selection box in C++

APlayerController* PlayerController = Cast(GetController());
if (PlayerController != nullptr)
{
// Get the coordinates of the mouse from our controller
float LocationX;
float LocationY;
PlayerController->GetMousePosition(LocationX, LocationY);
FVector2D DragPoint(LocationX, LocationY);

		FBox2D Box;
		Box += AnchorPoint;
		Box += DragPoint;
		UE_LOG(LogTemp, Warning, TEXT("Your message"));
}