ParaPlayer.GetState

Declaration

public AvatarStateType GetState ( )

Descriptions

This function returns the player's current AvatarStateType.

local player = ParaPlayerService.GetLocalPlayer()
local state = player:GetState()
print(state)