Is there any way to make touch controls without joystick

I making 2d game and i cant find a way to make right and left controls without using a joystick

You can get the finger position, and whether the finger is “touching” or not, in the player controller, and then do your own decoding of the gesture.
You’ll want to not install any virtual joysticks if you want to do your own decoding.