decorative banner

Get Floating Box Position


    The Get Floating Box Position action reads the current position of a floating box. You can process this information using, for example, an Idle action that moves a second floating box to the current position of that floating box. 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 Floating Box 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 floating box coordinates from the Get Floating Box 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 Floating Box Position action name from the menu. For more information on setting up these actions, see Move By, Move To, Condition, or Idle.