Casting not working

I created an Actor variable, pinned it to the Cast node and it worked! Could we say that this is a proper approach to do something like this?

This is how it ended up being: