it must spawn from room cords y = 1 because the objects fall from the roof and land on the solid i hope you can help
object_selector=0; var i,x1,y1; i=random(1); object_selector=round(i); x1=random(room_width); y1=random(room_height); if(object_selector=0) instance_create(x1,1,obj_tree); if(object_selector=1) instance_create(x1,1,obj_object1);











