How do I script this using blueprints?

I’m trying to add a button on 2 widgets to restart my game (moving the player back to these coordinates - -10043.064624, -4250.417293, 6679.0, yes specific) but I’m a bit stuck on how to do this with blueprints so I would like some help, if you need anymore information I would be happy to give it

Create empty blueprint to mark target location(i used BP_Valholl)

then do this code:


this will copy whole transform together with scale

if you want to keep scale as default [1,1,1] do this instead:

Place you blueprint exactly at location you want (you can set location manually from level editor)

ps. this code needs to be in player character (or pawn)

Sounds like this would work:

thanks, this really helps