How to randomize object position in a map
I have a 1344x768 map.
I have a sprite with collisionshape in Area2D. And i Have a player. I want that when the player enters the Area2D then it will disappear and then appear in a random place in my map. And then when the player enter it then it will disappear and appear in a new random place in the map.
Please check the images to understand me better: