5 Replies Latest reply on Oct 12, 2012 8:57 AM by Ned Murphy

    StartDrag : understanding parameters (create limits)

    alaStickman

      Hello,

      i have a problem with the "StartDrag" parameters, i want to create some sort of limits but i can't.

      here is what i want to do :

      the main idea is making a simple slider puzzle like this :

      [1][2][3]

      [6][5][4]

      [7][8][..]

      so what i need now, is that only [4] and [8] can be draggable, but also they only can go to the empty square, and then if for example we come with this

      [1][2][3]

      [6][5][..]

      [7][8][4]

      only [5] and [3] can be draggable .

      so if someone can help about the "StartDrag" i will be very grateful or maybe i can use another thing,

       

       

      thank you