Define random position? like whole layout or like special places to respawn kinda like counter strike?
If whole layout you can do something like Onstartlayout--> move player to Random X , Y. And if i remember correctly you had to also do something like Min max X value and Y value of your layout to prevent spawning outside of layout.
If you want specific but special place to respawn at you can create a bunch of sprite and label then spawn A, spawn B, spawn C, etc to how ever you want and then you can do something like global variable spawn point=0 and then do something like onstartlayout->global variable Choose number (1,2,3,..etc)
Another event for each spawn such as If 2 is chosen then move to spawn B.
And then after that under it i would add If global variable is >0 then make it equal to 0 so that it doesnt lock up the player to that spawn point only.
I prefer the specific spawn point but random because you can effective choose where to spawn and not have to worry about too many bugs.