Move Component To / Follow a trajectory / Start with a flag

Hello,
As part of a project with HoloLens and Unreal, I am looking to move a character.
For the moment, I have set a target point and I use the Move Component To function wich allows me to move the character to the target point when I press the T key.
I have two questions:

  • I would like the character to start when a defined variable take the value 1 (not when I press T)
  • I would like the character follow a trajectory defined by several X and Y.
    Do you have any ideas ?
    Attached is the capture of the current blueprint.
    Thanks in advance for your help

hi @asduban and Welcome!

Ok there are many ways you could handle the movement part. but if you want to follow a predefined path using coordinates then consider a spline to follow?

How To Make An Object Follow A Spline Path - Unreal Engine Tutorial - YouTube

As far as the trigger by variable instead of the keyboard input. You would need either in your Event Tick keep checking for the variable change then trigger the start. Or a timer to loop until the variable changes and trigger the start.

All depends on how and where you wish all this to happen as it isnt apparent from your blueprint.

Also you are moving a component and not an Actor, is this your desired effect? you can use the Actor Move To instead if you want the whole actor to move