How To Disable Left Click Mouse / Finger Touch?

Discussion in 'Buildbox General Discussion' started by DatumGamer, Apr 6, 2020.

  1. DatumGamer

    DatumGamer Boxer

    Joined:
    Apr 6, 2020
    Messages:
    46
    Likes Received:
    4
    First of all, this is the best thing i ever had, i mean the best tool to play around and create many games.

    Ok so im in a process of creating a game.
    I have 2 Buttons
    Left (moves player to left)
    Right (moves player to right)

    They both works fine but when i touch the screen anywhere with my finger and move around, player moves and drags with the direction where my fingers goes.

    On Mobile: Character drags when i touch the screen with my finger and move around.
    On Computer: (inside build box): When i left mouse click and move pointer left and right, my character go left and right.

    How to disable that?
    I only want my character to be moved only from those left and right buttons.

    I have been searching this from last 2 days but i could not find any solution.

    It would be so awesome if anyone can enlighten me on that.

    Thank you.

    Have a great day.
     
  2. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    315
    Likes Received:
    158
    i think you are using touch move node
    screenshot from character nodes editor ?
     
  3. DatumGamer

    DatumGamer Boxer

    Joined:
    Apr 6, 2020
    Messages:
    46
    Likes Received:
    4
    Yes here it is.
    Please check
     

    Attached Files:

    • BP.PNG
      BP.PNG
      File size:
      108.3 KB
      Views:
      14
  4. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    315
    Likes Received:
    158
    ohh, you change node names
    try make character Dynamic
    and check if Ui Buttons (Right and Left)pointing to control button or screen
    i've tried it and it's work very fine with me
     
    Last edited: Apr 7, 2020
  5. DatumGamer

    DatumGamer Boxer

    Joined:
    Apr 6, 2020
    Messages:
    46
    Likes Received:
    4
    Its a default character from that template.
    I just added the left and right onbutton commands. Rest are default and i didnt see anywhere from i can disable the mouse drag functuonality
     
  6. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    315
    Likes Received:
    158
    template name ?
    try what i said above
     
  7. DatumGamer

    DatumGamer Boxer

    Joined:
    Apr 6, 2020
    Messages:
    46
    Likes Received:
    4
    Template Name is: Twisted Road.
     
  8. DatumGamer

    DatumGamer Boxer

    Joined:
    Apr 6, 2020
    Messages:
    46
    Likes Received:
    4
    I put it to dynamic
    and left is assigned to left and right is to right not on screen.
    Still getting drag movement from touching the screen
     
  9. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    315
    Likes Received:
    158
    to disable effect when touch screen to move
    from path move node, set sensitivity 0
     
    aminee and DatumGamer like this.
  10. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    315
    Likes Received:
    158
    and return it Kinematic
     
  11. DatumGamer

    DatumGamer Boxer

    Joined:
    Apr 6, 2020
    Messages:
    46
    Likes Received:
    4
    OMG you are a live savier,
    GG
    Thank you
    Fixed it !!
     
    mohamed awad likes this.
  12. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    315
    Likes Received:
    158
    YW
     
    DatumGamer likes this.

Share This Page