How to make lean touch drag my objects once at a time and not all together?

Hello , so I am currently working on a project where I spawn multiple items in the real world , I have imported lean touch to make these items move when I tap on them but the problem is that if I have more than one item spawned and I drag one the other also moves along with it , I have read and followed the documentation of leanTouch to stop this but didn’t work , now I have lean touch game object on my hierarchy and I assigned lean drag translate for each prefab I want to drag , also each prefab has a box collider , I even tried to add some movement script and attached it to my prefabs that didn’t work either , so if anyone can help me by making only the item my finger is touching to be dragged at a time and not all at once, would be appreciated.
Thanks in advance!

  1. You can solve your problem just looking at example provided by Lean Touch plugin in next path in your project Plugins/CW/LeanTouch/Examples/22 PressToSelect
  2. You can solve your problem following next steps
    A) adding “Lean Finger Down” and “Lean Select By Finger” scripts in empty object in scene
    B) adding “Lean Selectable By Finger” to the all objects that you want to drag separately
2 Likes

8336775--1095921--upload_2022-8-4_18-16-25.png

Hi, How to make lean touch drag my objects once at a all together?
Please help me…

Hello, you need to drag your object prefab in the Select field
Where it says “None (Lean Selectable)”

What do u mean by “in empty object in scene” please ?

Sorry for the late reply, i meant that these scripts should be in scene for right work of “Lean Selectable by finger” like EventSystem for UI interactions