I have a group which contains lots of inner display objects with gaps between them (because those objects have different sizes)
Now, I would like to drag the group as a whole.
If I touch any of the objects, everything works fine - but as soon as I touch a gap, the group does no longer get the touch event (unless I enter one of the inner objects while dragging)
I already tried to set “isHitTestable” to true, but that did not work.
Is there any other trick?
Thanks in advance for any help!
Andreas Rozek [import]uid: 4331 topic_id: 485 reply_id: 300485[/import]
Hopefully the Corona crew will have a better answer, but I had a similar problem and my workaround was to add a large rectangle to the group with the opacity set to .01 (making it invisible on my iTouch).
– Walt Sterdan [import]uid: 4329 topic_id: 485 reply_id: 939[/import]
If I remember correctly, when I set the rectangle’s alpha to 0.0 it was no longer selectable; I tried a few low numbers and setting the alpha to 0.01 worked the best for me, though I didn’t test too extensively.
– Walt Sterdan [import]uid: 4329 topic_id: 485 reply_id: 943[/import]