How can I get the location of an object and spawn player/character at that location with f key or any other key

Use “get world location” of the object and “spawn actor from class” and use the object location as the location value in the transform pin for the spawn node.