How to spawn targets using an array?

Create an array of actors, assign the actors to it, and set a random index.
Captura de pantalla 2024-09-11 155414