AI move to random object of class

I want to have a basic A.I that will find an specific object class in a world, such as a TV class, and have it so if there are multiple tv’s in the world it’ll choose a random tv and walk to the tv it randomly chose, how do I do this?

Something like this, I recommend making the “get all actors” array output a variable so you only have to do that once, unless your actors are being created/destroyed during game play.