Declaration
public bool GetStateEnabled(AvatarStateType state)
Parameter
state | Whether 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)