---
title: "PlayMode"
description: "API documentation for PlayMode"
url: https://developer.disguise.one/python-api/docs/playmode/
---

# PlayMode

A wrapper class that lists the possible play modes of the PlayHead.

See also: [Transports Guide](/plugins/guides/transports)

Base class: _\_BlipValue_

## Nested Classes

-   [PlayModeState](/python-api/docs/playmode.playmodestate#playmodestate)

## Properties

#### **state** : _[PlayMode.PlayModeState](/python-api/docs/playmode.playmodestate#playmodestate)_ _(Read-Only)_

Play mode of the PlayHead. An enum of the list \[Play, PlaySection, LoopSection, Stop, HoldSection, HoldEnd\].

## Constructors

#### **\_\_init\_\_**(self)

#### **\_\_init\_\_**(self, rhs: _[PlayMode](/python-api/docs/playmode#playmode)_)

#### **\_\_init\_\_**(self, m: _[PlayMode.PlayModeState](/python-api/docs/playmode.playmodestate#playmodestate)_)

## Special Methods

#### **\_\_str\_\_**(self) -> _str_

Returns a string representation of the play mode.

**Returns** A string representation of the play mode.
