Help center

/

Documentation

/

Cursor Motion Page FX

Cursor Motion Page FX

Moves, scales, stretches or tilts a block in a post or page as the pointer comes near, with an optional custom cursor, using the same motions as Module Editor layers.

Cursor Motion Page FX


Cursor Motion Page FX is used in the WordPress block editor rather than in the Module Editor. It has no block of its own, and is added to a block already on the page.

To reach it, edit any post or page, select a supported block, click Page FX in the block toolbar, and click Cursor Motion, then:

  • Page FX · Cursor Motion Panel
    • Edit Cursor Motion
    • Remove Effect

Edit Cursor Motion opens the dialog:

  • Cursor Motion Dialog
    • Follow the Pointer
    • React
    • Turn
    • Cursor Icon
    • Strength
    • Radius (px)
    • Speed
    • Return
    • Axis
    • Perspective (px)
    • Remove
    • Preview
    • Done

Cursor Motion Page FX makes a block in a post or page react to the mouse pointer. The block can move toward or away from the pointer, scale, stretch or tilt as the pointer comes near, and can show a different cursor while the pointer is over it. The motions are the same ones used for layers in the Module Editor, in the Interaction section of the Interaction Panel.

Cursor Motion is one of the Page FX effects, which are added in the WordPress block editor. It has no block of its own. Select a block already on the page, click Page FX 1 in the block toolbar, and click Cursor Motion 2.

Cursor Motion can be added to Paragraph, Heading, List, Quote, Image, Group, Cover, Columns, Buttons, Media & Text, Gallery and Video blocks.

The Page FX menu lists every Page FX effect the selected block can take, and a tick marks the ones already switched on for it.

Cursor Motion runs on the same block as Pan & Zoom, Scroll Animation and Hover Morph, so an Image block can have a Pan & Zoom move and a Cursor Motion effect together.

Pan & Zoom and Scroll Animation cannot share a block with each other. While Pan & Zoom is on, the Scroll Animation row in the menu is grayed out and reads Blocked by Pan & Zoom.

A Filmstrip on a Gallery or Columns block blocks every other Page FX effect on the blocks inside it. No block inside one can take Cursor Motion, whatever its type, and its menu reads Blocked by Filmstrip on every effect except Filmstrip.

The Gallery or Columns block that holds the Filmstrip can still take Cursor Motion.

Switching Filmstrip on for a Gallery or Columns block that already holds blocks with Cursor Motion switches Cursor Motion off on those blocks. A notice at the bottom of the editor names the effects that were switched off and how many blocks they were on.

The blocks keep their Cursor Motion settings, but the effect stays off until it is switched on again from the Page FX menu.

A block with an effect switched on shows a Page FX badge in its top right corner. Clicking the badge opens the block's Page FX menu. Paragraph and Heading blocks show no badge.

The motion does not play in the editor. It runs on the published page and in the preview, and responds to a mouse pointer.

Page FX · Cursor Motion Panel

The Page FX · Cursor Motion panel appears in the Settings tab of the block sidebar when a block with the Cursor Motion effect is selected. It shows the motion in use and the buttons that edit or remove the effect.

Edit Cursor Motion (Button)

Opens the Cursor Motion dialog, where the motion, the cursor and every setting of the motion are set.

Remove Effect (Button)

Switches the Cursor Motion effect off for the block, which then ignores the pointer and shows the normal cursor. The motion and its settings are kept, and come back if Cursor Motion is chosen from the Page FX menu again.

Cursor Motion Dialog

The Cursor Motion dialog holds every setting of the effect. The motions are on the left, in three groups, and the settings are on the right. The chosen motion's name is shown at the top of the settings.

Changes in the dialog apply to the block as they are made, and are saved with the post or page.

Follow the Pointer (Image Select)

Sets a motion in which the block moves or stretches toward the pointer. Hovering a tile plays the motion inside it, following the pointer over the tile, and clicking the tile applies it.

Choosing a tile loads that motion's own starting values into Strength, Radius (px), Speed and Return, and into Axis for every motion except Stretch and Taffy.

Options:

  • Magnet: The block moves toward the pointer by about a third of the distance between them.
  • Snap To Cursor: The block moves most of the way to the pointer quickly, and passes its resting position once on the way back.
  • Slow Drift: The block moves a short way toward the pointer slowly, over a wide radius.
  • Lean In: The block moves a short way toward the pointer, furthest when the pointer is near its center.
  • Sideways Only: The block moves toward the pointer horizontally only.
  • Stretch: The block stretches toward the pointer while its far edge stays in place.
  • Taffy: The block stretches further toward the pointer and springs back with an elastic motion.

React (Image Select)

Sets a motion in which the block scales, or moves away from the pointer, as the pointer comes near. Hovering a tile plays the motion inside it, following the pointer over the tile, and clicking the tile applies it.

Choosing a tile loads that motion's own starting values into Strength, Radius (px), Speed and Return, and into Axis for Repel and Skittish.

Options:

  • Pop: The block scales up quickly as the pointer comes near, and passes its normal size once on the way back.
  • Swell: The block scales up slowly while the pointer is near, over a wide radius.
  • Shy: The block scales down as the pointer comes near.
  • Recoil: The block scales down further as the pointer comes near, and springs back with an elastic motion.
  • Repel: The block moves away from the pointer.
  • Skittish: The block moves quickly and far away from the pointer, and bounces back into place.

Turn (Image Select)

Sets a motion in which the block rotates as the pointer comes near. Hovering a tile plays the motion inside it, following the pointer over the tile, and clicking the tile applies it.

Choosing a tile loads that motion's own starting values into Strength, Radius (px), Speed and Return, and into Perspective (px) for Card Tilt and Deep Tilt.

Options:

  • Card Tilt: The block tilts in 3D so that its side nearest the pointer turns toward it.
  • Deep Tilt: The block tilts in 3D toward the pointer, further than Card Tilt.
  • Swing: The block rotates flat toward the side the pointer is on.
  • Wobble: The block rotates flat toward the side the pointer is on, and springs back with an elastic motion.

Cursor Icon (Tab Select)

Sets the cursor shown while the pointer is over the block. Each of the twelve cells shows an icon of a cursor, and holding the pointer over a cell shows that cursor. The cursor works with or without a motion chosen.

Options:

  • Inherit: The block keeps the cursor it would show without the effect.
  • Auto: The browser chooses the cursor from the content under the pointer.
  • Arrow: The standard arrow.
  • Pointer: The pointing hand used over links.
  • Text: The I-beam used over selectable text.
  • Move: The four-way arrow used for dragging.
  • Crosshair: A thin cross.
  • Help: An arrow with a question mark.
  • Wait: The busy indicator.
  • Zoom In: A magnifier with a plus sign.
  • Zoom Out: A magnifier with a minus sign.
  • Hidden: No cursor is shown over the block.

Strength (Number, range, slider)


  • Visible when a motion is chosen under Follow the Pointer, React or Turn.
  • Hidden when no motion is chosen.

Sets the size of the motion, which is how far the block moves, scales, stretches or turns in response to the pointer.

On Magnet, Snap To Cursor, Slow Drift and Sideways Only, the value is the percentage of the distance to the pointer that the block moves. At 100 the block's center reaches the pointer, and above 100 the block moves past it.

The value can be set with the slider or typed into the field beside it, as the two are mirrored.

Options:

  • 0: Minimum. The block does not respond to the pointer.
  • 150: Maximum. The block moves, scales, stretches or turns furthest.

Radius (px) (Number, pixels, range, slider)


  • Visible when a motion is chosen under Follow the Pointer, React or Turn.
  • Hidden when no motion is chosen.

Sets the distance in pixels from the center of the block within which the pointer starts the motion. Outside it, the block does not react.

Lean In, every React motion, Card Tilt and Deep Tilt are strongest with the pointer at the center of the block, and fade out toward the edge of this distance.

Magnet, Snap To Cursor, Slow Drift, Sideways Only, Stretch and Taffy move or stretch the block further as the pointer gets further from its center, and fade out over the outer 30% of this distance.

Swing and Wobble do not turn the block with the pointer at its center, and turn it furthest with the pointer to one side, about halfway to the edge.

Options:

  • 20: Minimum. The block reacts only with the pointer close to its center.
  • 800: Maximum. The block reacts with the pointer up to 800 pixels from its center.

Speed (Number, range, slider)


  • Visible when a motion is chosen under Follow the Pointer, React or Turn.
  • Hidden when no motion is chosen.

Sets how quickly the block reaches the position, size or angle that the pointer sets for it. Low values make the change slow and gradual, and high values make it keep pace with each movement of the pointer.

Options:

  • 2: Minimum. The block responds to the pointer most slowly.
  • 40: Maximum. The block responds to the pointer most quickly.

Return (Tab Select)


  • Visible when a motion is chosen under Follow the Pointer, React or Turn.
  • Hidden when no motion is chosen.

Sets how the block returns to its resting state once the pointer leaves the Radius (px) distance.

Options:

  • Smooth: The block returns to its resting state without passing it.
  • Back: The block passes its resting state once before settling on it.
  • Elastic: The block passes its resting state several times, each time by less, before settling on it.
  • Bounce: The block bounces against its resting state several times before settling on it.

Axis (Tab Select)


  • Visible when the motion is Magnet, Snap To Cursor, Slow Drift, Lean In, Sideways Only, Repel or Skittish.
  • Hidden when any other motion, or no motion, is chosen.

Sets the directions the block is allowed to move in when it responds to the pointer.

Options:

  • Both: The block moves horizontally and vertically.
  • Horizontal: The block moves left and right only.
  • Vertical: The block moves up and down only.

Perspective (px) (Number, pixels, range, slider)


  • Visible when the motion is Card Tilt or Deep Tilt.
  • Hidden when any other motion, or no motion, is chosen.

Sets the perspective distance in pixels for the 3D tilt. A short distance makes the tilt look stronger, and a long distance makes it look flatter.

Options:

  • 200: Minimum. The tilt looks strongest.
  • 3000: Maximum. The tilt looks flattest.

Remove (Button)

Switches the Cursor Motion effect off for the block and closes the dialog, the same as Remove Effect in the block sidebar.

Preview (Button)

Opens a preview of the post or page in a separate browser tab, where the motion plays as it does on the published page. The editor autosaves the post first, because the preview is built from the autosave.

Done (Button)

Closes the dialog. The changes made in it are already applied to the block.

In this article

back to overview