How can I make a variable with the type of an AActor?

@anonymous_user_f5a50610 I have to do the cast, like in the screenshot.