hi i want to make a game with poratls but i am very new and lost i

I tried different guides on youtube but the portals would spawn on me and I would be teleporting back because when I entered the portal and teleport when I came out from the second portal I would touch the portal and go back sorry for my bad English any help would be super appreciated

The best tutorial I have seen on making portals is done by Brackeys.

You can watch the tutorial on YouTube and download the source code on Git.

Disable the portals from teleporting anything that was teleported from another portal and have not left the portal hitbox.