2 Way Swipe And 2 Way Touch Node

Discussion in 'How Can I...?' started by Hayk, Jan 27, 2020.

  1. Hayk

    Hayk Boxer

    Joined:
    Jan 27, 2020
    Messages:
    20
    Likes Received:
    2
    Hi everyone,
    How can I edit 4 Way Swipe Node's script. (Buildbox 3)
    I want to use Y axis by swipe, and X by Touch (like 2 buttons, when touch X<0 move left, when X>0 move Right).
     
  2. dnmrr

    dnmrr Boxer

    Joined:
    Jan 10, 2020
    Messages:
    37
    Likes Received:
    5
    You can set 2 UI buttons in the UI Screen. Hope that helps!
     

    Attached Files:

  3. Hayk

    Hayk Boxer

    Joined:
    Jan 27, 2020
    Messages:
    20
    Likes Received:
    2
    In that case swipe will be covered by UI buttons and will not work.
     
  4. jmp909

    jmp909 Boxer

    Joined:
    Feb 2, 2020
    Messages:
    28
    Likes Received:
    4
    @Hayk you can untick "Block Touch Through" on the UI Button on the UI Screen

    but bear in mind it means you'll be able to swipe vertically & touch horizontally at the same time which might not give the behaviour you want
     
    dnmrr likes this.
  5. Hayk

    Hayk Boxer

    Joined:
    Jan 27, 2020
    Messages:
    20
    Likes Received:
    2
    Perfect!
    It works. Thanks
     
    jmp909 and dnmrr like this.

Share This Page