Making a varible editable in the inspector

I’m trying to make an int32 that i can change value on in the inspector, what is the right syntax so far i have tried

UPROPERTY(config = EditAnywhere)
int32 MyInt;

thanks in advance.


I have an entire tutorial on this!

Make C++ Vars for Use in BP


/** What is the Player's current musical skill level? */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=PlayerMusicSkill)
int32 MusicSkillLevel;

#More Options

In my tutorial

I got it working now, thanks :slight_smile: