Is it possible to cast to a dynamically set Child Actor Component Class?

Hi all,

I have this setup which allows me to specify different types of class of engine (train engines) from the editor:

However, there is no point to this because I still have to cast to the same class explicitly in order to access components/variables of that class (using Cast to Engine).

Is there some way, once you’ve set the child actor class, to cast to that class you’ve just set?

I want to be able to swap Engine class with Engine2, Engine3, etc. classes.

Thanks in advance.