1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Shift click in GUI

Discussion in 'Skript' started by Skaya, Nov 3, 2018.

Thread Status:
Not open for further replies.
  1. Skaya

    Skaya Member

    Joined:
    Aug 6, 2018
    Messages:
    26
    Likes Received:
    0
    Hi,

    How can i detect shift click in a GUI?

    Thx,

    Skaya :emoji_slight_smile:

     
  2. Best Answer:
    Post #4 by CormanYT, Nov 3, 2018
  3. CormanYT

    CormanYT Active Member

    Joined:
    Jan 6, 2018
    Messages:
    122
    Likes Received:
    4
    What addons are you using?
     
  4. Skaya

    Skaya Member

    Joined:
    Aug 6, 2018
    Messages:
    26
    Likes Received:
    0
    SKQuery for the GUI's but i cloud install any other addons that works on 1.8.
     
  5. CormanYT

    CormanYT Active Member

    Joined:
    Jan 6, 2018
    Messages:
    122
    Likes Received:
    4
    If you could, try to use TuSKE. You can detect a shift click through a function event.

    Code (Skript):
    1. function findClick (clicktype: String):
    2.     if {_clicktype} is "left":
    3.         #CODE HERE
    4.     if {_clicktype} is "shift left":
    5.         #CODE HERE
    6.     if {_clicktype} is "shift right":
    7.         #CODE HERE
    8.     if {_clicktype} is "right":
    9.         #CODE HERE
    I think you need TuSKE for it though.
    if this help plz give Best Answer
     
    • Like Like x 1
  6. Skaya

    Skaya Member

    Joined:
    Aug 6, 2018
    Messages:
    26
    Likes Received:
    0
    Okay, thx.
     
  7. CormanYT

    CormanYT Active Member

    Joined:
    Jan 6, 2018
    Messages:
    122
    Likes Received:
    4
    You're welcome.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...