Mouse Interface

An overview and breakdown of the Mouse Interaction.

Choose your operating system:

Windows

macOS

Linux

MouseInterfaceTitle.png

The Mouse Interface map in Content Examples demonstrates how to utilize mouse or touch inputs in your games. The level, which is pretty simple in terms of play and execution, consists of an array of spheres with a cube that tracks back and forth behind them.

MouseInterfaceGame.png

Interaction can be broken down as follows:

  • Hovering the mouse over any of the spheres will change its Material - this demonstrates hover (mouse-over) functionality.

  • Clicking and dragging on a sphere will cause it to follow the cursor, allowing spheres to be moved around the level. This is also true of touch events from a mobile device.

  • Clicking on the box in the background plays and stops a Matinee sequence, which causes the box to move back and forth behind the spheres.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss