Method of Player
player:supports
True if this player's client can show the feature.
player:supports(feature: Feature) → boolean
Parameters
featureFeatureReturns
booleanUsed in
client version. To check a feature, ask `player:supports` (see "ClientPacks(`player:supports("resource_pack")` is false). A pack that needs the texturesPacksplayer:supports("light") -- can this player's client show it? see "Client versions"Playersonce. Nothing here needs `player:supports`: a client too old for a feature isBody and movementBoth need 1.19.4 (`player:supports("display")`). `free` means mouse lookCamerasif player:supports("display") thenClient versionslocal map = player.ui.overlay{ corner = "top_right", size = 96, margin = 4 } -- nil where player:supports("overlay") is falseHUD(`player:supports("layout")`). On any other client, `player.ui.show`Layouts