—
Just create 1 obstacle sprite and put the other obstacles in other frames.
Then, when the object is created, assign a random frame.
For more pipes than other objects, put 2 or 3 frames just for it.
Or use "choose" like that: *the 0 frame is the pipe*
choose(0,0,0,1,2,3,4,etc)