Jump to content
Search Community

jinnyum

Members
  • Posts

    7
  • Joined

  • Last visited

jinnyum's Achievements

  1. hi In the observer, onDragEnd is not called when the mouse moves below 3px. What could be the problem...?
  2. I didn't know that xpercent and x were different. T_T I also didn't know that a percentage could be applied to x... Actually... there was something I really wanted to do. 1. Divide the area into 5 equal parts 2. Placing divs in the partition 3. Assign each index number to div 4. Drag the div to check if it exceeds half of the area placed 5. If it exceeds half of the area, increase or decrease the index number and change the position to index * 20% 6. Move the div with index number 4 to the left, and when the index number decreases, calculate the position as left:3*20% and place it I think I can reach the goal I want with the method you gave me. However, I wonder if there is a way to do what I described above with gsap. thank you so much for your answer
  3. hi, I applied gsap.to after dragging. I thought it would move to the x value applied to gsap.to. However, the x result value is the result of adding up to the dragged position value. result : transform: translate(50%, 0%) translate(63px, 0px) I was expecting transform: translate(50%, 0%) values. What should I do to get the result I want?
  4. hello I want the object to follow a path, repeatedly moving up and down. However, if you additionally apply up and down repetition after applying the motionpath, it does not move along the correct path. I've looked through the documentation and searched, but I can't figure it out. If anyone knows how, please help.
×
×
  • Create New...