# How to set animaton easing (in\\out) in sequencer with Python. Picture inside

**URL:** <https://forums.unrealengine.com/t/how-to-set-animaton-easing-in-out-in-sequencer-with-python-picture-inside/634837>\
**Category:** Editor Scripting\
**Tags:** Python, unreal-engine\
**Created:** [August 26, 2022, 3:06pm UTC](https://forums.unrealengine.com/t/how-to-set-animaton-easing-in-out-in-sequencer-with-python-picture-inside/634837 "2022-08-26T15:06:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![9Evgeny9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@9Evgeny9](https://forums.unrealengine.com/u/9Evgeny9)\
**Post date:** [August 26, 2022, 3:06pm UTC](https://forums.unrealengine.com/t/how-to-set-animaton-easing-in-out-in-sequencer-with-python-picture-inside/634837/1 "2022-08-26T15:06:34Z")

</div>

I can set easing manually.

![easing](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/9/4/594eb522c32bfd9939f136277efa8b518445b7da.jpeg)

I have found parameter “easing” in unreal.MovieSceneSection

* * *

unreal.MovieSceneSection  
(`easing` (MovieSceneEasingSettings): [Read-Write] Easing)

* * *

i followed to MovieSceneEasingSettings

* * *

Bases: [`unreal.StructBase`]  
Movie Scene Easing Settings  
**C++ Source:**

- **Module** : MovieScene
- **File** : MovieSceneSection.h

* * *

When i try to see current parameters of easing,

`unreal.log(My_animsection.get_editor_property("easing"))`  
i receive empty struct

` LogPython: <Struct 'MovieSceneEasingSettings' (0x0000080193DA5B60) {}>`

When i try to set variables (present in MovieSceneSection.h)  
`My_animsection.get_editor_property('easing').set_editor_property('AutoEaseInDuration',10,unreal.PropertyAccessChangeNotifyMode.NEVER)`

I receive error

> LogPython: Error: MovieSceneEasingSettings: Property ‘AutoEaseInDuration’ for attribute ‘AutoEaseInDuration’ on ‘MovieSceneEasingSettings’ is protected and cannot be set

* * *

How to provide easing with Python?

---

<div class="post-metadata">

**Author:** ![IDMSoft](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/idmsoft/32/1097060_2.png) [@IDMSoft](https://forums.unrealengine.com/u/IDMSoft)\
**Post date:** [September 26, 2022, 7:02am UTC](https://forums.unrealengine.com/t/how-to-set-animaton-easing-in-out-in-sequencer-with-python-picture-inside/634837/2 "2022-09-26T07:02:40Z")

</div>

Stuck on the same topic, any update on how to achieve this?

---

<div class="post-metadata">

**Author:** ![9Evgeny9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@9Evgeny9](https://forums.unrealengine.com/u/9Evgeny9)\
**Post date:** [September 28, 2022, 1:38pm UTC](https://forums.unrealengine.com/t/how-to-set-animaton-easing-in-out-in-sequencer-with-python-picture-inside/634837/3 "2022-09-28T13:38:22Z")

</div>

No luck for SETting easing, but success with COPY. I mean create MANUALLY section with easing (in main or another sequence), then COPY easing settings to variable, and then

> mySection.set\_editor\_property(‘easing’,easingSettings)

---

<div class="post-metadata">

**Author:** ![IDMSoft](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/idmsoft/32/1097060_2.png) [@IDMSoft](https://forums.unrealengine.com/u/IDMSoft)\
**Post date:** [September 29, 2022, 8:08am UTC](https://forums.unrealengine.com/t/how-to-set-animaton-easing-in-out-in-sequencer-with-python-picture-inside/634837/4 "2022-09-29T08:08:59Z")

</div>

> [@9Evgeny9](#):
>
> set\_editor\_property(‘easing’,easingSettings)

This is Very very Helpful thank you so much !  
How I found it useful is to create another sequencer and basically put a place holder with eased-in animations and I just copied the settings to my plotted animations

---

<div class="post-metadata">

**Author:** ![Online\_Learner\_1EwTC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Online\_Learner\_1EwTC](https://forums.unrealengine.com/u/Online_Learner_1EwTC)\
**Post date:** [May 29, 2024, 5:26pm UTC](https://forums.unrealengine.com/t/how-to-set-animaton-easing-in-out-in-sequencer-with-python-picture-inside/634837/5 "2024-05-29T17:26:31Z")

</div>

So is there a better way to set this ‘easing’ property? I event don’t konw what property should be set in MovieSceneEasingSettings. 🫠, and copy ‘easing’ is very inflexible 😭
