How do I make objects spawn randomly

how do I make objects spawn randomly around?

You need to create your Object at X position = RandomInRange(maxValue, minValue) and Y Position = RandomInRange(maxValue, minValue)

Similarly, you can use Random(maxValue) instead of RandomInRange(maxValue, minValue) if you choose a random number whose minimum value will be 0.

It depends on the around. I mean around What? the whole screen, around the player, around some platform, around a clicked sprite?
Where do you want to spawn the objects

image
That should help.

thanks for the help @JimmyD