Details Panel Dynamic Exposed Variables?

Would like to know this too, I think I found a good video to follow https://www.youtube.com/watch?v=P5HRvqh5qmM

I’m finding this a problem as I’ve not done any C++ coding yet. How do I create the class I tried creating a new C++ file but can’t find UProperty, also how do I attach it to the right Actor?