I would like to go form one place and come out from another place

This is my scene. If player touch green circle the player should come out from another green circle(not blue circle). If player collide with blue circle it should only come out of another blue circle(not green circle).

How can i do this?

Set 4 different sprites and pair by color or variables numbers

if player is colliding with 1 make player invisible add a timer of 0.5 secs and move the player to 2 for blue
if player is colliding with 3 make player invisible add a timer of 0.5 secs and move the player to 4 for green
I’m sure there is a lot of ways to do this but this should work

Other source here How to create a portal : GDevelop 5 - YouTube

Thanks for the response. I had a look at the video. They are using two objects of the same. But in my case, i will have many holes. Once the object moves to that hole/circle, it should get the instances of all circles and then move to a particular circle.

You should do it in a foreach and add all your circle objects in a Group then check in the events
– foreach circleGroup
----Do stuff

I am unable to add forEach, While conditions. How to add them?

Take a look on how t add foreach or repeat
foreach-repeat

Thanks for the response. I understood how to add those conditions now.