Dragging child item in Horizontal Layout Group
Hi,
I have a panel with a Horizontal Layout Group applied to it. I have 4 objects in the panel and they all space out nicely.
One of the items has a script on it that allows the user to drag the sprite around, this works fine with the Horizontal Layout Group turned off, but with it turned on it locks the sprite into place and I cannot drag it anymore.
Is there a way to be able to move the sprite around whilst in a panel with Horizontal Layout Group applied?
*note - if the sprite is dropped somewhere other than some predefined spots it snaps back to its original position.
Thanks
Your answer
Follow this Question
Related Questions
[Solved] Scroll not working when elements inside have click events 3 Answers
Card array layout 1 Answer
Player character jumping when I wish to only initiate pause - UI Button element. 1 Answer
Windows 10 Touch Screen input stops triggering onClick events 0 Answers
[HELP] 2D Ammo UI error wont count down shooting count and wont pick up and change ammo count 0 Answers