Mouse Click Setup
The Level Blueprint also includes a setup for handling mouse clicks.
Generally speaking, the network here simply alternates between starting and stopping the Editor Cube's Matinee by way of a FlipFlop flow control node. Note that there are two separate events that drive the network. By having both of these events, the network can be called from a mouse on a computer or by a finger touch on a mobile device.
OnInputTouchBegin - This gets called on a Touch event on the specified object, which happens when a player touches the screen on a mobile device.
OnClicked - This event gets called when the player clicks the mouse on the specified object.
These events can be created for a given object by selecting the object in the Viewport or World Outliner, then, in the Level Blueprint's Event Graph, right-click in the Graph and choose Add Event for YourObject > Input > Touch Input > Add OnInputTouchBegin or Add Event for YourObject > Input > Mouse Input > Add OnClicked.