2D Game with portals assistance?

So I’m rather new to Unreal Engine, I wanted to make a game where the player presses one button and they place down a portal and if they place down another portal then the player can travel between the two portals, how would I do this? I know about setting actor location and teleport nodes but I wanted to know how to connect the two portals so the player has control over their actions.

For anybody wondering what I was asking, its how to make place able portals