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

# MotionEffect

## Overview

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

Represent motion effect behavior of effect.

This class provides 14 methods for working with MotionEffect objects in Python programs.
Available methods include: `__init__`, `accumulate`, `additive`, `angle`, `as_i_behavior`, `by`, `from_address`, `origin`, `path`, `path_edit_mode`, `properties`, `rotation_center`, and 2 additional methods.
All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: `accumulate`, `additive`, `angle`, `as_i_behavior`, `by`, `from_address`, and 7 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `from_address` | `Any` | Read/Write | Gets or sets the from address. |
| `to` | `Any` | Read/Write | Gets or sets the to. |
| `by` | `Any` | Read/Write | Gets or sets the by. |
| `rotation_center` | `Any` | Read/Write | Gets or sets the rotation center. |
| `origin` | `MotionOriginType` | Read/Write | Gets or sets the origin. |
| `path` | `IMotionPath` | Read/Write | Gets or sets the path. |
| `path_edit_mode` | `MotionPathEditMode` | Read/Write | Gets or sets the path edit mode. |
| `angle` | `float` | Read/Write | Gets or sets the angle. |
| `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. |
| `from_address()` → `Any` | Specifies an x/y co-ordinate to start the animation from (in percents). |
| `to()` → `Any` | Specifies the target location for an animation motion effect (in percents). |
| `by()` → `Any` | Describes the relative offset value for the animation (in percents). |
| `rotation_center()` → `Any` | Describes the center of the rotation used to rotate a motion path by X angle. |
| `origin()` → `MotionOriginType` | Specifies what the origin of the motion path is relative to such as the layout of the slide, or the parent. |
| `path()` → `IMotionPath` | Specifies the path primitive followed by coordinates for the animation motion. |
| `path_edit_mode()` → `MotionPathEditMode` | Specifies how the motion path moves when shape is moved. |
| `angle()` → `float` | Describes the relative angle of the motion path. |
| `as_i_behavior()` → `IBehavior` | Allows to get base IBehavior interface. |

## See Also

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