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

Yup this is the solution. Thank you RiumEqua!