I have a project where by pressing the B key, the character after a time interval is teleported to a point on the map.
I can do this. It turns out that I imposed conditions so that at the end of the time interval the teleportation would be executed successfully.
Pressing the D key prevents the teleportation from happening.
Character moves around
It is as if the character must be meditating/channeling/motionless.
To do this correctly I use 2 variables:
varCanalizando => becomes true if the B key is pressed / becomes false if the D key is pressed or the character walks.
varInterrompeu => becomes true if varCanalizando is true and D key is pressed or the character walks.
Pressing the D key will cancel the meditating/channeling/motionless and the character will not teleport at the end of the time interval.
I can not identify the part of the blueprint that makes the character walk.
But I say almost certainly, that it's not in the TopDownCharacter default code.
The closest I got to something related to the mouse in the blueprint:
I suspect it may be in some of the TopDownCharacter components and I've tried something related based on this post:
I consider it pertinent to inform that I have modified the standard click button from left to right, but I do not know if that is the cause of the problem.
I looked for the event in the component of the character that I found most suspicious, but none of them seems to me correct:
EDIT 1 (attempt)
I tried using the Right Button Mouse, but neither the print worked: