I'm trying to simulate a joystick in the same style used in the game:
works as follows:
1) anywhere you touch on the screen is created joystic
2) if you walk the joystic follows your player
I already managed to create the scheme showing where joystic played touches but I'm struggling to implement the system that follows the character.
I tried using the Anchor, but I had problems when it passes the edge of the screen, and I do not know why = /
this is the project file:
Someone already implemented a solution to this problem?