Get all child classes of a blueprint class (not actors, but the classes)

Thanks. I have this as my current workarround. But with this I have to manually set the array of child classes which becomes problematic when you have a lot of child classes since I would have to maintain this list. What I want to do is iterate over all child classes on begin play and add them to my array of Motions.