If you are talking about a Blueprint derived from a C++ class, the “BlueprintReadWrite” enabled this for the Blueprint I derived from my C++ class:
From:
UPROPERTY(EditAnywhere) bool ShowTarget = false;
to:
UPROPERTY(EditAnywhere, BlueprintReadWrite) bool ShowTarget = false;