GMS 2 Problem with Drag event

Hi all, i have a problem with a Drag Event on my android phone.
I have an Obj with this code:

Code:
dragx = event_data[?"posX"];
dragy = event_data[?"posY"];

Code:
if 1 < dragx - event_data[?"rawposX"] < 1280  newx = dragx - event_data[?"rawposX"];
if 1 < dragy - event_data[?"rawposY"] < 768 newy = dragy - event_data[?"rawposY"];
if newx < 1 newx = 0;
if newy < 1 newy = 0;
if newx > 448 newx = 448;
if newy > 192 newy = 192;
camera_set_view_pos(view_camera[0], newx, newy)
if instance_exists(Oggetto_GUI_Torrette)
{
    if global.menutorretta = 1
    {
    Oggetto_GUI_Torrette.x = newx + 448
    Oggetto_GUI_Torrette.y = newy + 256
    Oggetto_Base_GUI_Luce.x = Oggetto_GUI_Torrette.x + 110
    Oggetto_Base_GUI_Luce.y = Oggetto_GUI_Torrette.y + 140
    Oggetto_Base_GUI_Neutro.x = Oggetto_GUI_Torrette.x + 192
    Oggetto_Base_GUI_Neutro.y = Oggetto_GUI_Torrette.y + 210
    Oggetto_Base_GUI_Ombra.x = Oggetto_GUI_Torrette.x + 274
    Oggetto_Base_GUI_Ombra.y = Oggetto_GUI_Torrette.y + 140
    }
    if global.menutorretta = 2
    {
    Oggetto_GUI_Torrette.x = newx + 448
    Oggetto_GUI_Torrette.y = newy + 256
    Oggetto_Torretta_GUI_Pulse.x = Oggetto_GUI_Torrette.x + 110
    Oggetto_Torretta_GUI_Pulse.y = Oggetto_GUI_Torrette.y + 140
    }
    
}

Testing on PC return the result i'm expecting, it drags the view and the objects correctly.
On the android on the other side, this dosent work. i've checked with a text and the "Global Drag Start" save the correct coords, but i can swipe as much as i want and it wont drag anything.
Well, it has some unexpected results since if start to drag then touch with a 2nd finger the drag start but with strange results.
I really dont understand what's wrong here.

Thanks a lot to anyone who will help me.
 
Top