Hi need a hand in getting my app to pick a random procedure from a list

I want the app to select a random procedure from a list every x seconds (using a clock)

For more context I'm trying to make a "random buff generator" For a space invaders type of game (Im trying to obtain this by making a procedure that enables a radom immage in the canvas and makes so that it teleports to a random point then gives it a direction to move towards)

thanks and sorry for my broken English

Something like this ?


Yes thanks I had found a similar solution but this will let me cut a lot of useless stuff in the middle thank you so much