How do I make 2 different Touchs with 2 different actions?

Hello all! i’m new here and I have actualy this problem on my proyect:

I want to make the player capable to move while touching the screen joystick with one hand and shoot to the direction of the touch of the second hand.

I’m using the SpriteMultiTouchJoystick and FireBullet extensions (Also Smooth camera but no problem with that)

What is the expected result

The player should be capable to move with the Joystick and Shoot to the direction of the touch of the other hand.

What is the actual result

The player can move and shoot but the bullets goes to the direction of both touches (Joystick and Shooting Point)

Related screenshots

Just managed to make it work. I used one of the tutorials from the gdevelop multitouch examples as a guide:

I don’t undertand exactly how it works. Just copy-pasted some of the code for my situation and it worked :laughing: