Get Layer Position


    The Get Layer Position action reads the current position of a layer. You can process this information using, for example, an Idle action that moves a second layer to the current position of that layer. This creates the impression that the second object trails the first.

    Trigger the action with a browser-triggered event set to OnCall in the head section of the page. In the Head Action Inspector, choose Action > Getters > Get Layer Pos. Choose OnCall from the Exec pop-up menu and give the action a unique alphanumeric name.

    Set up a timeline-triggered action to retrieve the layer coordinates from the Get Layer Position action. Some actions you can consider using include Move By and Move To. Either of these actions can be used alone or in combination with a Condition or Idle action. When setting up a Move By or Move To action, click the red "C" icon  red C icon twice adjacent to the Position property until it changes to a green question mark icon  Position property until it changes to a green question mark icon , and choose the Get Layer Position action name from the menu. For more information on setting up these actions, see Move By, Move To, Condition, or Idle.