Owais1723 Posted May 1, 2023 Posted May 1, 2023 Hello i want to bound the object to be dragged only the border of the circle . i have provided the codepen in which small circle is bound to be dragged only inside circle but i want to bound it to be dragged only on the border this codepen is not but please modify this code alittle so that it meets my requirments thanks alot : ) See the Pen LYZBaoR by GreenSock (@GreenSock) on CodePen.
Solution GreenSock Posted May 1, 2023 Solution Posted May 1, 2023 I'd just use a type: "rotation" Draggable: See the Pen mdzBOqJ?editors=1010 by GreenSock (@GreenSock) on CodePen. 3
Owais1723 Posted May 1, 2023 Author Posted May 1, 2023 1 hour ago, GreenSock said: I'd just use a type: "rotation" Draggable: Thank you ?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now