logo
search
Office Settings & Configuration

How to Make a Line Animation Follow a Moving Object in PowerPoint

John WilsonJohn Wilson Oct 10, 2026 870 views

Question details

The user wants to animate a line in a presentation so that one end remains anchored in place while the other end continuously tracks an object moving along a custom or elliptical motion path.

How to Make a Line Animation Follow a Moving Object in PowerPoint
Product
PowerPoint
Device & OS
not provided
Scenario
Creating advanced custom animations, such as simulating an orbit or tracking a moving target, where a connector line needs to dynamically update its length and angle during the slideshow.
Observed behavior
PowerPoint does not natively allow one endpoint of a line to remain completely fixed while the other endpoint dynamically follows a moving shape on an elliptical motion path.
Before you start

Ensure you have the Animation Pane open to manage multiple simultaneous animations, and note that native PowerPoint tools move entire shapes rather than dynamically stretching connectors during a slideshow.

Solution 1Recommended

Manually Edit Motion Path Points

Since PowerPoint cannot dynamically stretch lines during an animation, you can approximate the effect by applying a synchronized motion path to the line and editing its center points.

This method involves animating both the object and the line simultaneously. By customizing the line's motion path, you can create the optical illusion that one end is anchored while the other follows the object.

1
Create the shapes and the line

Insert your fixed object (e.g., the Sun), the moving object, and a line shape connecting them.

2
Apply a motion path to the object

Select the moving object, go to the Animations tab, click 'Add Animation', and choose a Custom Path or Ellipse motion path.

3
Apply the same motion path to the line

Select the line, apply the exact same motion path, and set it to 'Start With Previous' in the Animation Pane so they move together.

4
Edit the path points of the line

Right-click the dashed motion path of the line and select 'Edit Points'. Manually adjust the trajectory so that the endpoint nearest the fixed object stays as close to the center as possible throughout the animation.

Manually Edit Motion Path Points
Animation Limitations: A simple Spin animation with a zero-degree amount will not make a line endpoint independently follow an elliptical path. Precise tracking requires careful manual alignment of the motion path points.
Free Microsoft Office alternative

Try WPS Presentation for Seamless Animation Editing

Complex custom animations and motion path adjustments can be frustrating due to native limitations in Microsoft PowerPoint. WPS Office provides a lightweight, free alternative with intuitive animation controls, robust shape formatting, and full compatibility with Microsoft Office formats, making presentation design much smoother.

  1. 1. Download and Install WPS Office: Visit the official WPS website to download the free office suite and install it on your device.
  2. 2. Open your Presentation: Launch WPS Presentation and open your existing .pptx file. Your original layout and objects will remain perfectly intact.
  3. 3. Customize Motion Paths: Navigate to the Animation tab to easily add, manage, and edit motion paths visually using the intuitive Animation Pane.
Fully compatible with Microsoft PowerPoint (.pptx) formats and animationsFree to use with a familiar, easy-to-navigate user interfaceLightweight architecture ensures smooth playback even for complex animationsBuilt-in advanced vector graphics and path editing tools
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't my line stretch automatically when connected to a moving shape?

While connector lines in PowerPoint will stretch when you drag shapes around during the editing phase, the animation engine treats the line as a static graphic object. It moves the entire bounding box of the line rather than recalculating the connection points during the slideshow.

Can I use a Spin animation to keep one end of the line fixed?

Using a Spin animation with a custom anchor point works for circular paths. However, if the moving object follows an elliptical (oval) path, the distance from the center constantly changes. A spin animation cannot dynamically stretch the length of the line, meaning it will eventually detach from the moving object.

How do I access 'Edit Points' for an animation path?

Click on the actual dashed line that represents the motion path on your slide (not the shape itself). Right-click the dashed line and select 'Edit Points' from the context menu. You can now drag the individual nodes to fine-tune the exact trajectory.