How to get last specific actor?

getallactorsofclass then if length=1 get 0 from that array