Receiving a drag event for an object inside a ScrollView

Hi all!

I use Cocos Creator version 3.8.3.

Imagine a panel at the bottom of the screen. It has a ScrollView component. It has view and content objects. The latter has a Layout component. I add some object to content for which I need to detect drag start events. However, the event does not come. Unchecking the “Cancel Inner Events” box does not help.

Is it possible to somehow make ScrollView and dragging an object from this panel compatible, if the first one only requires horizontal dragging (scrolling), and the second one requires vertical dragging (pulling an object from the panel)?

you can do the action by using on touch event !

I don’t receive events in the current project. I created an empty scene and everything works there. I’ll figure it out. I’d like to delete the topic. I was too hasty with its creation. Thank you!

1 Like