# Python Scripting: remove animation from mesh/object

Somehow? I seen Remove Animation action in action list(space), but was unable to call it on object I need. Console traced Cancelled so I think I did it wrong and called a ui method.

I seen animation_clear() method somewhere not sure if it's related

obj = bpy.data.objects["Cube"]