# Move an Actor in Editor with code?

**URL:** <https://forums.unrealengine.com/t/move-an-actor-in-editor-with-code/357110>\
**Category:** C++\
**Tags:** transforming-actors, unreal-engine, editor, CPP, question\
**Created:** [May 11, 2016, 11:48am UTC](https://forums.unrealengine.com/t/move-an-actor-in-editor-with-code/357110 "2016-05-11T11:48:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![antithing](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@antithing](https://forums.unrealengine.com/u/antithing)\
**Post date:** [May 11, 2016, 11:48am UTC](https://forums.unrealengine.com/t/move-an-actor-in-editor-with-code/357110/1 "2016-05-11T11:48:33Z")

</div>

Heya, i am trying to move an AActor around in the Editor using c++, from another thread.

I get my Actor, and try the usual:

```
FRotator Rot(34, 54, 76);
Actor->SetActorRelativeRotation(Rot, false);

```

But it hits a breakpoint in (of all places) String.cpp: here:

```
// First try to print to a stack allocated location 
	GET_VARARGS_RESULT( Buffer, BufferSize, BufferSize-1, Fmt, Fmt, Result );

```

How can I get this working?

Thanks!
