ParaPlayer.GetStateEnabled

Declaration

public bool GetStateEnabled(AvatarStateType state)

Parameter

stateWhether the given AvatarStateType is enabled.

Descriptions

The GetStateEnabled function returns whether a AvatarStateType is enabled for the player.

local player = ParaPlayerService.GetLocalPlayer()
local stateEnabled = player:GetStateEnabled(AvatarStateType.Dead)
print(stateEnabled)