Trying to change velocity of projectile upon entering portal

Im currently trying to make it to where a projectile goes through portals i can set up on my level that they go through and come out relative to the position of the second portal, as opposed to to the same direction, I’ve tried calling my projectile blueprint to another function that checks the x and y axis of my portals, the same function i use to rotate my camera upon entering(which works), but i just cant figure out how to get it to work, heres a snippet from my function that rotates the player and that im now attempting to set up for the projectile