hyperandroid / CAAT

Canvas Advanced Animation Toolkit
hyperandroid.github.com/CAAT
MIT License
727 stars 116 forks source link

Can be customize enableDrag() ? #115

Closed Jeyabalan closed 11 years ago

Jeyabalan commented 11 years ago

In my case i use enableDrag function for my actor container. Is their way to make the actor container move only in X-axis direction and stop movement in Y-axis direction?

hyperandroid commented 11 years ago

It is not a default way of doing this. I suggest you taking the base mouseDrag function, and build a new version yourself for your own objects.

Thanks.

2013/1/11 Jeyabalan notifications@github.com

In my case i use enableDrag function for my actor container. Is their way to make the actor container move only in X-axis direction and stop movement in Y-axis direction?

— Reply to this email directly or view it on GitHubhttps://github.com/hyperandroid/CAAT/issues/115.