Can't get location after target is moving

Hello, My question is below.

Things I’d like to achieve

  • Getting actor location with tag of ‘player’.

Current situation

  • I could get initial location of ‘Player’ actor when I check ‘Return Value’ of ‘GetActorLocation’ by ‘Print String’.

  • But even if I moving ‘Player’ actor, ‘GetActorLocation’ keeps returning initial location.

Editor

GetActorLocation should do it, but… How are you moving your player?

If you’re moving just the player mesh with the blueprint, the actor location doesn’t change, just the mesh location.

Can you give more info?

Sorry for lacking of explanation.
But thanks to your question, I have a solution.

I misunderstood actor having ‘Player’ tag.
I attached ‘Player’ tag to ‘PlayerStart’ and spawned character.
So I deleted ‘Player’ tag of ‘PlayerStart’.

Sorry for the lack of understanding and I solved this question.

Cause

  • Duplicate ‘Player’ tag. (‘PlayerStart’ and spawned character)

Solution

  • Delete ‘Player’ tag of ‘PlayerStart’.

You could also focus in more with

341846-screenshot-1.jpg