When you call GetTransform() you’re actually getting a copy of the actors transform, so any changes you apply to it will have no effect. Use AActor::SetActorScale3D() to change the scale of an actor. Look up the difference between references and values.