---
Product: Aspose.Slides
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/python/CommandEffect
---

# CommandEffect

## Overview

`CommandEffect` is a class in Aspose.Slides FOSS for Python.
Inherits from: `Behavior`, `ICommandEffect`.

Represent command effect behavior of effect.

This class provides 9 methods for working with CommandEffect objects in Python programs.
Available methods include: `__init__`, `accumulate`, `additive`, `as_i_behavior`, `command_string`, `properties`, `shape_target`, `timing`, `type`.
All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: `accumulate`, `additive`, `as_i_behavior`, `command_string`, `properties`, `shape_target`, and 2 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `type` | `CommandEffectType` | Read/Write | Gets or sets the type. |
| `command_string` | `str` | Read/Write | Gets or sets the command string. |
| `shape_target` | `IShape` | Read/Write | Gets or sets the shape target. |
| `as_i_behavior` | `IBehavior` | Read | Gets the as i behavior. |
| `accumulate` | `NullableBool` | Read/Write | Gets or sets the accumulate. |
| `additive` | `BehaviorAdditiveType` | Read/Write | Gets or sets the additive. |
| `properties` | `IBehaviorPropertyCollection` | Read | Gets the properties. |
| `timing` | `ITiming` | Read/Write | Gets or sets the timing. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__()` |  |
| `accumulate()` → `NullableBool` | Represents whether animation behaviors are accumulated. |
| `additive()` → `BehaviorAdditiveType` | Represents whether the current animation behavior is combined with other running animations. |
| `properties()` → `IBehaviorPropertyCollection` | Represents properties of behavior. |
| `timing()` → `ITiming` | Represents timing properties for the effect behavior. |
| `type()` → `CommandEffectType` | Defines command effect type of behavior. |
| `command_string()` → `str` | Defines command string. |
| `shape_target()` → `IShape` | Defines shape target of command effect. |
| `as_i_behavior()` → `IBehavior` | Allows to get base IBehavior interface. |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)