C++ Varriable Help

Could someone give me an example how to define a varriable in C++ then use the definition in blueprints?

Thanks, how do I go about replicating that variable as well?

UPROPERTY(BlueprintReadWrite)
float ExampleFloatVariable;

More info can be found here.

Read more Docs :stuck_out_tongue_winking_eye:

UPROPERTY(BlueprintReadWrite, Replicated)
float ExampleFloatVariable;

Simply adding that in C++ isn’t enough though. As Nachtmahr has said you may want to look into the docs, specifically networking, if you want to replicate variables and use C++.