state

var state: PlayerState

Gets the current state of the player. See PlayerState for more info.