Jump to content
Search Community

Jannik

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Jannik

  1. On 2/11/2024 at 11:03 AM, mvaneijgen said:

    Thanks for getting back. I understand that this might not be the right forum. Sorry for taking your time.

     

    Hi @Jannik welcome to the forum!

     

    Maybe https://gsap.com/docs/v3/Plugins/MotionPathPlugin/static.convertCoordinates() can help, but hard to say without a minimal demo. Also can you explain the problem you're trying to solve instead of the solution you're thinking of? Please also include a demo of your current setup so that we can dive directly in to the code. Hope it helps and happy tweening! 

     

     

  2. Hi all.

     

    Working in Adobe Animate with GSAP.

     

    For a project, I have created a circle as a movieclip ("disk1"). Within "disk1", I have 2 dots called "area1" and "area2". "Disk1" is rotating.

     

    What I want, is to get the changing x and y values of "area1" and "area2" - but I'm only able to get the values from within "area1" and "area2" themselves, so the value is static and doesn't change when disk is spinning.

     

    Anyone have a solution for this - how can I get the x and y values relative to the stage?

     

    Thanks!

    Skærmbillede 2024-02-11 kl. 09.14.14.png

×
×
  • Create New...