Did you compile it?
Also in your screenshot, you’ve moved down the right pane; where the moved platform would be at the top. Can’t actually see if it’s there or not.
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "MovingPlatform.generated.h"
UCLASS()
class OBSTACLEASSAULT_API AMovingPlatform : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
AMovingPlatform();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
UPROPERTY(EditAnywhere, Category="Moving Platform")
FVector PlatformVelocity = FVector(100,0,0);
UPROPERTY(EditAnywhere, Category="Moving Platform")
float MoveDistance = 100;
FVector StartLocation;
};
Mine looks like this.