Mouse Interface

An overview and breakdown of the Mouse Interaction.



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.


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.

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

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback