UKismetSystemLibrary::IsSplitScreen
Deprecated: IsSplitScreen was only ever checking if there are more than one local player. Use HasMultipleLocalPlayers instead.
#include "Kismet/KismetSystemLibrary.h"
Access: public
Specifiers: staticUFUNCTIONBlueprintPure
Description
Returns whether there are currently multiple local players. Deprecated in favor of HasMultipleLocalPlayers, which has always been the actual behaviour of this function.
Caveats & Gotchas
- • Deprecated since UE 5.0 — the engine source notes it only ever checked local player count, not whether split-screen rendering is actually active, which the old name implied incorrectly.
- • New code should call HasMultipleLocalPlayers directly; this entry only exists for understanding legacy Blueprint graphs and C++ still calling it.
Signature
static bool IsSplitScreen(const UObject* WorldContextObject) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| WorldContextObject | const UObject* | Object used to resolve the current world. | — |
Return Type
bool Example
Legacy usage (prefer HasMultipleLocalPlayers) C++
PRAGMA_DISABLE_DEPRECATION_WARNINGS
bool bMultiplePlayers = UKismetSystemLibrary::IsSplitScreen(this);
PRAGMA_ENABLE_DEPRECATION_WARNINGS Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | deprecated | — |
| 5.0 | deprecated | Deprecated in favor of HasMultipleLocalPlayers, which has identical behaviour under a clearer name. |
Feedback
Was this helpful?