# Python - Lock Transform on Actor

**URL:** <https://forums.unrealengine.com/t/python-lock-transform-on-actor/156027>\
**Category:** Editor Scripting\
**Tags:** unreal-engine\
**Created:** [January 7, 2021, 9:08pm UTC](https://forums.unrealengine.com/t/python-lock-transform-on-actor/156027 "2021-01-07T21:08:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickweeden](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nickweeden](https://forums.unrealengine.com/u/nickweeden)\
**Post date:** [January 7, 2021, 9:08pm UTC](https://forums.unrealengine.com/t/python-lock-transform-on-actor/156027/1 "2021-01-07T21:08:27Z")

</div>

Is there any way to access the ‘Lock Actor Movement’ option in python? I can’t seem to see anything regarding it in the docs.

![lock_transform.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/d/2dadba660f82ee734566d91d71bea7f8b80208d5.png)

---

<div class="post-metadata">

**Author:** ![IKOON](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ikoon/32/613512_2.png) [@IKOON](https://forums.unrealengine.com/u/IKOON)\
**Post date:** [January 20, 2023, 3:48pm UTC](https://forums.unrealengine.com/t/python-lock-transform-on-actor/156027/2 "2023-01-20T15:48:40Z")

</div>

There is this method:  
_editor\_lock\_location(True)_

For this object:  
_unreal.VPViewportTickableActorBase_

But I am also not able to set the Lock to a Camera or similar Actor.  
**Any help is much appreciated.**
