if you need to toggle splitscreen in game, you will need to use c++.
GetWorld()->GetGameViewport()->SetDisableSplitscreenOverride(true);
if you want to expose it to blueprint, you can put it in a blueprint function library like this:
UABlueprintFunctionLibrary.h:
UFUNCTION(BlueprintCallable, Category = "Viewport")
static void DisableSplitScreen(AActor* Context, bool bDisable);
UABlueprintFunctionLibrary.CPP:
void UABlueprintFunctionLibrary::DisableSplitScreen(AActor* Context, bool bDisable)
{
if (Context)
{
Context->GetWorld()->GetGameViewport()->SetDisableSplitscreenOverride(bDisable);
}
}