How to expose cpp variable in level blueprint

I have a variable say “bool abc”. According to wiki page (A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums). I did this

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = “abc”)
bool abc= false;

Still unable to access variable in level blueprint.

if you used hot reload, close the game rebuild and reopen.

also, sometimes some stuff isn’t availiable, just open a blueprint of said class and try to access variable. if it work, copy past it :slight_smile:

also check the variable is public in c++ (UE should give you a warning if it isn’t )

Where have you declared your bool abc? You will need to first access the Actor/Component that the variable is on in the level blueprint, then get the bool abc from that object. You don’t automatically get access to all variables in the level blueprint from all objects in the game.