RenatoB
You could do something like this.
For each object
is object on screen
use the array push action to add the object's UID
Select a random value with round(random(array.length))
Pick object by UID
To pick more than one, use the pop action to remove the one already selected and then select another random value from the array.