help move an actor

hello everybody so i have a question
I want my player move move to a position that I would have previously chosen by touching the screen
thank you
I want my player move move to a position that I would have previously chosen by touching the screen
thank you
Answers
Add an actor with a rule, in that rule add a mouse button condition.
Add two ConstrainAttribute behaviors, constrain that actor's position.x to devices.mouse.position.x and do the same for y. Now when you want to access the last click location, you can access the position of that actor using the long-form keypath.