You need to provide some more info. Some screen shots of code or post a capx.
You could spawn an invisible sprite at touch.x, touch.y while is intouch then
Spite.X < Player.X 》 Do Something
Spite.X > Player.X 》 Do Something
Also use Set Poston for sprite to touch.x, touch.y every tick while it's in touch.
And destroy the sprite while it's not in touch.