# FTransform does not show up in the editor

**URL:** <https://forums.unrealengine.com/t/ftransform-does-not-show-up-in-the-editor/468379>\
**Category:** Pipeline & Plugins\
**Tags:** add-variable, unreal-engine, editor, issue, question\
**Created:** [July 19, 2020, 9:49pm UTC](https://forums.unrealengine.com/t/ftransform-does-not-show-up-in-the-editor/468379 "2020-07-19T21:49:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PixTropics](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PixTropics](https://forums.unrealengine.com/u/PixTropics)\
**Post date:** [July 19, 2020, 9:49pm UTC](https://forums.unrealengine.com/t/ftransform-does-not-show-up-in-the-editor/468379/1 "2020-07-19T21:49:15Z")

</div>

So I have a USTRUCT, and its variables I can get to show up as UPROPERTY except for FTransform

I think it may be an issue of initialization, as I can get specific parts of the transform to show up like this:

USTRUCT(BlueprintType)  
Struct FStructName  
{  
public:

UPROPERTY(BlueprintReadWrite, EditAnywhere)  
FVector MainActorPos;

FStructName()  
{  
MainActorPos = FVector(0,0,0);  
}

}

But :

UPROPERTY(BlueprintReadWrite, EditAnywhere)   
FTransform MainActorTransform;

with any of these initializations does not show up at all whether I do them complete like this:

MainActorTransform.SetComponents(FQuat(0,0,0,0),FVector(0,0,0),FVector(0,0,0));

or Broken down like  
MainActorTransform.SetScale3D  
MainActorTransform.SetLocation

etc

What’s the proper way to initialize this for visibility/editing in the editor? I’ve also tried not initializing and it doesn’t work. Thanks in Advance.

---

<div class="post-metadata">

**Author:** ![knapeczadam](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@knapeczadam](https://forums.unrealengine.com/u/knapeczadam)\
**Post date:** [July 20, 2020, 6:47am UTC](https://forums.unrealengine.com/t/ftransform-does-not-show-up-in-the-editor/468379/2 "2020-07-20T06:47:26Z")

</div>

I suppose your struct locates in a UCLASS() as member variable.

Without any initialization it works for me:

```
USTRUCT(BlueprintType)
struct FMyStruct
{
	GENERATED_BODY()
	
	UPROPERTY(BlueprintReadWrite, EditAnywhere)
	FTransform Bar;
};

UCLASS()
class CONTENTEXAMPLESCPP_API AMyActor : public AActor
{
	GENERATED_BODY()

	UPROPERTY(EditAnywhere)
	FMyStruct Foo;
	
public:	
	AMyActor();

protected:
	virtual void BeginPlay() override;

public:	
	virtual void Tick(float DeltaTime) override;
};

```

![307597-answerhub-struct-transform.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/2/be29a9e7c362adc887d9455f3bc460a62bb52b20.png)
