how do i make something spawn at a random location

so i wanna make a game where you need to collect coins, and i want the coins to randomly spawn and a random location. is there any way to do that?

game link? yes that is possible