# API Reference v10.3.1 (Python)

## TriggerState (data class)

Module: zaber_motion.ascii

The complete state of a trigger.

To use this type, add `from zaber_motion.ascii import TriggerState` to the top of your source code.

Related Guides:

- [Triggers](https://software.zaber.com/motion-library/docs/guides/device_features/triggers.md)

### Properties

#### `condition`

`trigger_state.condition`

Type: `str`

The firing condition for a trigger.

#### `actions`

`trigger_state.actions`

Type: `List[str]`

The actions for a trigger.

#### `enabled`

`trigger_state.enabled`

Type: `bool`

The enabled state for a trigger.

#### `fires_total`

`trigger_state.fires_total`

Type: `int`

The number of total fires for this trigger. A value of -1 indicates unlimited fires.

#### `fires_remaining`

`trigger_state.fires_remaining`

Type: `int`

The number of remaining fires for this trigger. A value of -1 indicates unlimited fires remaining.
