SteveZ Posted February 18, 2023 Share Posted February 18, 2023 Greetings, I’m creating an interactive alphabet for my grandson. The letters (.png images) are scrambled on the stage. Their initial positions and rotations are set in CSS. When I create a simple Draggable each image drags fine; however, either during or after an initial drag I would like the letters to rotate to 0 degree (upright), and I would like that upright position to remain even if a letter is dragged repeatedly. Thanks! See the Pen WNgQpKq by SteveZ (@SteveZ) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted February 18, 2023 Share Posted February 18, 2023 Like this?: See the Pen KKxdqpy?editors=0010 by GreenSock (@GreenSock) on CodePen 1 Link to comment Share on other sites More sharing options...
SteveZ Posted February 19, 2023 Author Share Posted February 19, 2023 Yes! That's exactly it. Works like a charm. Thanks Jack! Link to comment Share on other sites More sharing options...
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