For everybody who looks into this thread - do not cast objects like in the answer above. It’s an old C-style cast, that is wrong in many ways (google it if curious).
Use Cast<> or StaticCast<> (when you’re absolutely sure about your object’s class).
Cheers